-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio frametime, need to long. #122
Comments
Weird that it's only happening on audio and not video... |
intel n100 on Docker with 32gb ram for 480p .mkv files on a nvme. it's just really noticeable that only the sound is affected and not the picture (the picture looks good). btw. any chance of intel quick sync support? :) |
N100 has AES-NI, it shouldn't be struggling like that, weird. Anyway you can try setting About Quick Sync, this library doesn't care about the specific encoder. You can copy the
I'm currently working on a new API that should make this easier to do without leaking too much internal workings of the library out to user code. |
For the people who also like to have h265.vaapi and don't know how to customize the streamLivestreamVideo.ts, [out#0/matroska @ 0x632af8ff4ac0] sq: send 0 ts 242.75 The logs show that the gpu is used 99% of the time, except when creating the POC (Picture Order Count) during final coding, ############### streamLivestreamVideo.ts ### import ffmpeg from 'fluent-ffmpeg'; export function streamLivestreamVideo(
// command // if (streamOpts.hardwareAcceleratedDecoding) {
} export function getInputMetadata(input: string | Readable): Promise<ffmpeg.FfprobeData> {
} export function inputHasAudio(metadata: ffmpeg.FfprobeData) { export function inputHasVideo(metadata: ffmpeg.FfprobeData) { ############# |
After a good 5 minutes of playing, I get more and more of these error messages about the audio until the bot restarts. i mostly play .mkv files.
WARN stream:audio:send Frame takes too long to send (118.50% frametime) {
WARN stream:audio:send "frame_size": 164,
WARN stream:audio:send "duration": 23.699765000026673,
WARN stream:audio:send "frametime": 20
WARN stream:audio:send } +0ms
WARN stream:audio:send Frame takes too long to send (155.25% frametime) {
WARN stream:audio:send "frame_size": 159,
WARN stream:audio:send "duration": 31.0492090000771,
WARN stream:audio:send "frametime": 20
WARN stream:audio:send } +26s
WARN stream:audio:send Frame takes too long to send (131.29% frametime) {
WARN stream:audio:send "frame_size": 172,
WARN stream:audio:send "duration": 26.25833599991165,
WARN stream:audio:send "frametime": 20
WARN stream:audio:send } +35s
WARN stream:audio:send Frame takes too long to send (258.26% frametime) {
WARN stream:audio:send "frame_size": 182,
WARN stream:audio:send "duration": 51.651254999917,
WARN stream:audio:send "frametime": 20
WARN stream:audio:send } +3s
WARN stream:audio:send Frame takes too long to send (117.26% frametime) {
WARN stream:audio:send "frame_size": 157,
WARN stream:audio:send "duration": 23.451699999859557,
WARN stream:audio:send "frametime": 20
WARN stream:audio:send } +135ms
WARN stream:audio:send Frame takes too long to send (417.09% frametime) {
WARN stream:audio:send "frame_size": 165,
WARN stream:audio:send "duration": 83.41887400019914,
WARN stream:audio:send "frametime": 20
WARN stream:audio:send } +2s
and so on
WARN stream:audio:send Frame takes too long to send (660.03% frametime) {
WARN stream:audio:send "frame_size": 180,
WARN stream:audio:send "duration": 132.00662300002296,
WARN stream:audio:send "frametime": 20
WARN stream:audio:send } +575ms
I think the audio is trying to stay in sync with the picture and it's getting worse and worse.
Whether “minimizeLatency” is on or off doesn't matter.
I am using the latest version "4.1.2".
The text was updated successfully, but these errors were encountered: