[MEncoder-users] Need some help revising old script

Kevin dePfyffer kdepfyffer at gmail.com
Tue Mar 9 17:39:54 CET 2010


I know there are a lot of experts out there based off of some of the
post I have read so figured this is the best place to get some help. I
wrote a script (ripit) that would allow a user to select which format
and quality to use while ripping a dvd without having to type the
whole thing in at the command line. If you have a few examples of what
works really well for you and and can tell me the size and time it
takes to rip would you mind sharing. I have been updating the script
and added the ability to rip a video back to dvd so I would like to
update the mencoder portion in case things have changed since its
about 2 years old.
Here are some of the options I currently have, any feedback would be
greatly appreciated and I'm happy to share the script when I'm done
(you can still find a copy on the web a few places)
thanks in advance
BTW the 3 below have worked really well for me in the past but i
havent been keeping up with mencoder and would love to speed things up
without losing quality.
###########################################################################
## LONG encoding time but almost DVD quality and smaller file
XVID ()
{
mencoder "dvd://$TRACK" -aid "$AID" \
-mc 0 -oac mp3lame -lameopts br=92:vol=9 \
-ovc xvid -xvidencopts fixed_quant=3 -vf "$CROP" \
-o "$STORE/$TITLE".avi
echo
exit 0
}
###########################################################################
# Longer encode time than XViD But files are 1/2 the size
XVID2 ()
{
mencoder "dvd://$TRACK" -aid "$AID" \
-mc 0 -oac mp3lame -lameopts br=92:vol=9 \
-ovc xvid -xvidencopts autoaspect:chroma_opt:vhq=4:bvhq=1:quant_type=mpeg:\
qpel:turbo:max_bframes=2:threads=2:bitrate=600 -vf "$CROP",scale=528:320 \
-o "$STORE/$TITLE".avi
echo
exit 0
}
###########################################################################
## Good quality-large file-short encode time.
NTSC_DVD ()
{
mencoder "dvd://$TRACK" -aid "$AID" \
-mc 0 -oac lavc \
-ovc lavc -of mpeg -mpegopts format=dvd -vf "$CROP",scale=720:480,harddup \
-srate 48000 -af volume=8:lavcresample=48000 -lavcopts
vcodec=mpeg2video:vrc_buf_size=1835:\
vrc_maxrate=9800:vbitrate=2900:keyint=18:aspect=16/9:acodec=ac3:abitrate=192 \
-ofps 30000/1001 \
-o "$STORE/$TITLE".mpg
echo
exit 0
}


More information about the MEncoder-users mailing list