[MEncoder-users] A/V sync issues with separately encoded streams
Andrew Berg
bahamutzero8825 at gmail.com
Wed May 20 03:31:47 CEST 2009
I've managed to copy DVD titles, and they're in perfect sync, but when I
encode, they're often out of sync, with the video ahead by 50-250ms (it
varies even between titles on the same disc). I encode the streams
separately in order to use Nero's AAC encoder.
mencoder 040.vob -msglevel mencoder=1:statusline=5 -of rawvideo -nosound
-ovc x264 -x264encopts
crf=25:keyint=300:keyint_min=30:level_idc=41:frameref=15:mixed_refs:bframes=4:b_adapt=2:b_pyramid:me_range=24:direct_pred=auto:partitions=all:cabac:8x8dct:me=hex:subq=5:threads=auto:nointerlaced:nopsnr:nossim
-vf pp=lb,hqdn3d=14:13:10:9,harddup -o 040.h264
ffmpeg -i 040.vob -vn -f wav -ac 2 -ar 48000 - 2>nul | neroaacenc
-ignorelength -q 0.25 -if - -of 040.m4a
mp4box -add 040.h264:fps=29.97 -add 040.m4a -new 040.mp4
Is there any way to make sure the streams will stay in sync before I mux
them? If not, is there any way to know the delay value without having to
watch the final video and guess?
More information about the MEncoder-users
mailing list