[MPlayer-users] Problems with cating two DivX AVIs

Kevin Oberman oberman at es.net
Mon Feb 9 01:57:12 CET 2004


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 -

The resulting file plays, but, if I skip forward or back in the file,
it does not hit a reference frame and I get an ugly mess for a while. 
It pretty much straightens up after a few seconds, but some artifacts
seem to remain. I can skip through either of the source files with no
problems.

I have also tried replacing -noidx with -idx, but it seems to make no
difference. Any idea what I can do to get this to work? Would a -forceidx
pass on the output file help? (The doc implies that this switch can't be
used for the concatenation.)

Thanks,
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634




More information about the MPlayer-users mailing list