Convert DVD iso to video file
Last update
2019-10-23
2019-10-23
« — »
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # install tools apt-get install mplayer mencoder # detect the main video track mplayer -dvd-device dvd.iso -identify 'dvd://' # play it (eg: track number two) mplayer -dvd-device dvd.iso -identify 'dvd://2' # two/multiple pass compression (h264 video 1200kbps, mp3 audio 128kbps constant) # first pass mencoder \ -ovc x264 -passlogfile mencoder.log \ -oac mp3lame -lameopts cbr:br=128:highpassfreq=0:lowpassfreq=0 \ -x264encopts pass=1:threads=4:bitrate=1200:subq=6:partitions=all:8x8dct:me=umh:frameref=5:bframes=3:weight_b \ -dvd-device "mydvd.iso" -aspect 16:9 -nosub \ -o /dev/null \ 'dvd://2' # second/n-th pass mencoder \ -ovc x264 -passlogfile mencoder.log \ -oac mp3lame -lameopts cbr:br=128:highpassfreq=0:lowpassfreq=0 \ -x264encopts pass=3:threads=4:bitrate=1200:subq=6:partitions=all:8x8dct:me=umh:frameref=5:bframes=3:weight_b \ -dvd-device "mydvd.iso" -aspect 16:9 -nosub \ -o 'mydvd.avi' \ 'dvd://2' |