[MPlayer-users] rawrgb -> Divx: -idx makes incomplete file

Alan Murrell alanm at vcn.bc.ca
Tue Jul 29 15:59:07 CEST 2003


Hello,

  Mandrake Linux (9.1)
  MPlayer/MEncoder (0.90)


I have a 53GB rawrgb file that I am attempting to convert to Divx.  When I 
first converted it to Divx (3-pass), it was great quality, but I was unable 
to seek in it because there was no index.  The file size was what I wanted: 
700MB (more or less).

I re-encoded (again, 3-pass), but this time used the -idx option.  The 
resulting Divx was again great quality, I was able to seek, but the resulting 
file size was only 181MB and was only about the first 10-15 minutes.

Here is my encoding set:

mencoder source_file.avi -ovc frameno -oac mp3lame -lameopts br=128:vbr=3 -o 
"frameno.avi"

mencoder source_file.avi -oac copy -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=695:vpass=1 -o /dev/null -

mencoder -idx source_file.avi -oac copy -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=695:vpass=2 -o "output_file_Divx.avi" -

As I mentioned, not using the '-idx' option in the thrid pass gives a perfect 
file, only without the seeking.

Any ideas, tips, pointers, etc. on how to get around this would be 
appreciated.  Would the '-forceidx' option be better, or is ot bascially the 
same thing?

TIA for your help.

Alan Murrell <alanm at vcn.bc.ca>



More information about the MPlayer-users mailing list