[MPlayer-users] Problems with cating two DivX AVIs
D Richard Felker III
dalias at aerifal.cx
Mon Feb 9 05:22:10 CET 2004
On Sun, Feb 08, 2004 at 04:57:12PM -0800, Kevin Oberman wrote:
> I have looked through the archives and the FAQ and have no ideas as to
> what is not working, but I take to AVIs with good indices and cat them
> together as per the instructions in te doc, and the resultant file
> plays, but not correctly.
>
> Both files were created with nearly identical commands to mencoder:
> mencoder -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1500:vqmin=2:vqmax=31:vhq:vpass=1 -oac mp3lame -lameopts abr:br=64 -vop pp=lb,crop=690:474:0:0 -o /dev/null-dvd 1 -chapter 3 && mencoder -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1500:vqmin=2:vqmax=31:vhq:vpass=2 -oac mp3lame -lameopts abr:br=64 -vop pp=lb,crop=690:474:0:0 -o Title.avi -dvd 1 -chapter 3
>
> mencoder -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1500:vqmin=2:vqmax=31:vhq:vpass=1 -oac mp3lame -lameopts abr:br=64 -vop pp=lb,crop=690:474:0:0 -o /dev/null-dvd 1 -chapter 2 && mencoder -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1500:vqmin=2:vqmax=31:vhq:vpass=2 -oac mp3lame -lameopts abr:br=64 -vop pp=lb,crop=690:474:0:0 -o Content.avi -dvd 1 -chapter 2
>
> I then do:
> cat Title.avi Content.avi | mencoder -noidx -oac copy -ovc copy -o Vid.avi -
DON'T DO THIS! Instead:
cat Title.avi Content.avi > temp.avi
mencoder -forceidx -oac copy -ovc copy -o Vid.avi temp.avi
rm temp.avi
MEncoder will not behave well (and in some cases, mostly with mpeg
files, will desync a/v!!) when it can't seek on the input file.
Alas, the mencoder docs are absolutely horrible, so it's not your
fault... :(
Rich
More information about the MPlayer-users
mailing list