[MEncoder-users] audio sync failure

Uzu Maki tsukune at gmail.com
Mon Oct 31 23:42:39 CET 2005


ok... 3 different tries:
source #1: 25 mins, 1.98Go, TV show recorded on DVD
source #2: 54 mins, 1.98Go, TV show recorded on DVD
source #3: 1H25, 3.68Go, DVD movie

script used for all tries:
(with changes in scale/crop/names of course)

#############################################
# video track (pass: 1)
nice -n 3 mencoder -oac copy -ovc xvid -xvidencopts bitrate=1500:pass=1 -vf
crop=688:560:18:6,scale=628:500,pp=lb dvd://1 -o /dev/null

# video track (pass: 2)
nice -n 3 mencoder -oac copy -ovc xvid -xvidencopts bitrate=1500:pass=2 -vf
crop=688:560:18:6,scale=628:500,pp=lb dvd://1 -o "movie.avi"

# extract audio from encoded avi:
mplayer movie.avi -dumpaudio -dumpfile audio.ac3

# ac3 to wav:
a52dec -o wav audio.ac3 > audio.wav

# encode sound:
oggenc -b 128 audio.wav

# insert audio track
ogmmerge -o movie.ogm -A movie.avi audio.ogg

# clean up
rm divx2pass.log
##############################################

RESULTS:
source #1&#2: no problem for ogm, perfect sync
source #3: separate files perfect, movie with ac3 perfect, out of sync for
ogm

QUESTIONS:
in what does source #3 differ from the other two ?
(just the size ?)
and how may I solve this problem, if possible ?

thanx again for your help!
François



More information about the MEncoder-users mailing list