[MEncoder-users] DVD ripping for iriver H300 out-of-sync
James Lee
jlee23 at umbc.edu
Fri Jan 28 04:40:55 CET 2005
Hey,
I am writing a program (http://sourceforge.net/projects/iriverter) to convert
videos for the iriver H300 series mp3 player. It has very strict specifications
for playback.
Video:
XviD
220x176
<=10 fps
<=500 kbps
<=60 minutes
Audio:
mp3
128 kbps
44100 hz
The basic skeleton command that I'm using to convert videos on file (not DVD) is
as follows:
mencoder "/home/jlee/Video/Family Guy/Season 1/101 - Death Has A Shadow.avi" -o
"/home/jlee/Desktop/test.avi" -ffourcc XVID -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=450 -oac mp3lame -lameopts mode=2:cbr:br=128 -vf
scale=220:165,expand=220:176 -af resample=44100 -srate 44100 -ofps 10
I get excellent AV sync on the iriver with this command no matter what file I
pass to it, but when I adapt it for DVDs, the sound is behind anywhere from .5
to 1 second on the iriver (it sounds in sync on the computer). The command I
use for DVDs is like:
mencoder dvd://1 -o /home/jlee/Desktop/test.avi -ffourcc XVID -ovc lavc
-lavcopts vcodec=mpeg4:vbitrate=450 -oac mp3lame -lameopts mode=2:cbr:br=128 -vf
filmdint=io=30:10,scale=220:123,expand=220:176 -af resample=44100 -srate 44100
-ofps 10 -dvd-device /dev/dvd -alang en
Then test.avi is split into pieces less than an hour long.
mencoder /home/jlee/Desktop/test.avi -o /home/jlee/Desktop/test.part1.h300.avi
-ovc copy -oac copy -ss 0 -endpos 2863
Now the only differences between the DVD conversion and regular file conversion
is the filmdint filter the splitting. Without the filmdint filter the video is
terribly choppy. Can anyone spot anything that might cause this sync problem.
I really appreciate the help,
James Lee
jlee23 at umbc.edu
More information about the MEncoder-users
mailing list