[MEncoder-users] Huge AVI file after mencoder encoding
Mr. Man
nickman at freemail.hu
Tue Jun 2 20:23:57 CEST 2009
Dear All,
I'd like to ask your help, because I'm a bit stucked with mencoder conversion.
Previously I used a 3-pass conversion - similar with the below configuration - and however somehow the results weren't around 700MByte, but still between 800-1000Mbyte. The conversion finished in approx 4 hours nicely.
I reviewed my code to change to 2-pass (since 3-pass is obsolete in mencoder), and at this moment I use:
1-st pass:
mencoder example.vob -aid 128 -oac copy -ovc xvid -xvidencopts bitrate=-700000:pass=1 -vf pp=de,crop=X:X:X:X -passlogfile divx2pass.log -o "/dev/null"
2-nd pass:
mencoder example.vob -aid 128 -oac mp3lame -lameopts abr:br=128:aq=3:mode=1 -ovc xvid -xvidencopts bitrate=-700000:pass=2 -vf pp=de,crop=X:X:X:X -o "result.avi"
With the above the encoding time takes 5:30 hours and the bigger problem is that the AVI file becomes huge.
For example:
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 7500.0 kbps (937.5 kbyte/s)
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Length: 74 minutes
This above black-white movie in VOB is originally 3.9GByte, the AVI is 2.7GByte.
An another video
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 9500.0 kbps (1187.5 kbyte/s)
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Length: 110 minutes
This above black-white movie in VOB is originally 4.1GByte, the AVI is 5.5GByte.
I'm pretty sure that something is wrong with the above encoding settings - and neither with the videos nor my system - because the 3-pass encoding works smoothly with more realistic AVI sizes (like said above, less than 1GByte, around 800-900MByte).
The only thing I changed from 3pass to 2pass is adding aq=3:mode=1 to the mp3 conversion...but I'm skeptic that this causes the extra gigs. wink.gif
I use Debian/squeeze and the stable packages (mplayer, mencoder, etc) from Debian Multimedia site.
In general I'd like to make only an AVI backup of my DVDs (I have them at home, while travelling I watch the movies from the AVIs): so an outstanding AVI quality is not expected only a decent one. The output should be around the 700MByte limit (my next question will be why the bitrate=-700000 doesn't work... smile.gif ), the conversion time doesn't matter too much as I do it overnight.
I don't stick to the 700MByte size, the 1GByte approx size is fine + x264 encoding tips are welcomed.
Any help is really appreciated.
thanks,
nm
More information about the MEncoder-users
mailing list