Having encoded a VOB index file i now need to mux the original audio back to the outputted MP4 video. I deinterlaced with QTGMC so now have 50fps for smoother playback as opposed to 25p which will just make the video look choppy since it isnt interlaced anymore. Is there any good MP4 muxers that mux up the audio to match the framerate of the videp, as using one i notice the video a little out of sync, maybe by micro seconds and it only lets you choose upto 30fps audio.
+ Reply to Thread
Results 1 to 6 of 6
Audio doesn't have a framerate. However, since your 50fps video is the same length as your original 25fps video, you can use the same audio without having to stretch it (or, its original 25fps framerate). If it's out-of-synch, maybe you just have to add a delay.
You can try ffmpeg as muxer - agree with manono - if video duration is equal to audio duration then you should have perfect synchronization - side to this for sure this is not about microseconds - a/v synchronization is probably somewhere in area of few tens/hundred milliseconds.
I decoded the VOB files using DGIndex and noticed it has delayed the AC3 file by 9ms as the filename says "VTS_03_1 T80 2_0ch 192Kbps DELAY -9ms" But the audio is still the same length as the video, so i'm confused lol.
I never knew ffmpeg had a muxer option, maybe it would sync up properly then if it's being encoded with the video. Having played back the original VOB too and other files, has the same issue, maybe i'm reading too much into it or it's a problem with the media players. Would the 9ms delay make things ever so slightly off?
Think of the math:
If you have a 50fps video, each frame lasts 1/50th of a second, right?
1/50 = 0.02 sec. Or 20msec.
So a shift of 9ms is less than half the duration of even one frame. NOT something you would ever even notice as out of sync (unless you were one of those rare individuals sensitive to such things).