-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Every VFR input I've fed qencoder produces output with audio out of sync
I remember similar issues with Xvid, x264 in the early days when those were being used by front-ends that encoded the video separately and then remuxed them when the job was done. Wild guess that the yuv420 stream being piped to aomenc lacks the frame timestamps, or that aomenc drops them, and/or qencoder makes no attempt to restore the lost timestamps during muxing.
I'm sure I can work around this by adding custom ffmpeg flags to convert VFR to CFR by inserting duplicated frames. In my experience that can introduce judder. Adding extra frames for aomenc to digest also seems like something to avoid, lol.
So, anyone have some pointers to achieve this fix by other means? Maybe there's a commandline tool to extract the timestamp data from the original file and apply it to the output?