[MEncoder-users] dubbing audio out of sync with the video

Tomasz Ksiezyk ksiezyk at sbcglobal.net
Thu Nov 16 05:10:37 CET 2006


I have ripped a movie with 2 passes:

mencoder dvd://<title-number> -dvd-device <video-ts-dir> -oac copy -vf 
crop=720:448:0:14 -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=1000:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:autoaspect:vpass=1 
-o /dev/null -aid 128

mencoder dvd://<title-number> -dvd-device <video-ts-dir> -oac copy -vf 
crop=720:448:0:14 -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=1000:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:autoaspect:vpass=2 
-o <film-name>.avi -aid 128

which went fine. Then I also extracted the dubbing audio for this film with:

mencoder dvd://<title-number> -dvd-device <video-ts-dir> -oac copy -ovc 
copy
  -o temp.avi -aid 132
mplayer -quiet -vo null -ao pcm -ao pcm:file=audio.wav temp.avi
lame --silent audio.wav dubbing.mp3

When I played the movie with the option:

-audiofile dubbing.mp3

the dubbing audio was out of sync with the video. When I have ripped the 
movie again using the 2 passes as above, but replacing the value of -aid 
with 132, the result was fine again: the dubbing audio was in sync wit 
the video.

I would appreciate if somebody could tell me what I did wrong.

Thanks,

Tomasz Ksiezyk




More information about the MEncoder-users mailing list