Tag: mplayer

Mplayer

Mplayer is a great media player that can play a huge variety of file formats mplayer

Mencoder: This is part of the mplayer package that will encode from video and other sources.

Encode Script
I should point out at this point that I fully support paying for media, be they DVDs or CDs etc. I have a large collection of DVDs that I have paid for.

I find it much more convenient to play these directly from hard disk so I do not have to suffer the pathetic menus offered by by the majority of studios. In addition I do not share my encoded films they are for personal use only. It maybe that someone else may like to do the same with this script. While I may seem slightly paranoid at this disclaimer I am not happy with the tactics employed by the media companies over their ‘alleged’ losses. I do not see knife manufacturers warning you not to kill people with them; however it seems this is the stance taken to the decss code.

In short I am only suggesting that this script be used for legally owned DVDs and to be used within the local law.
I would also suggest that you provide as much financial support to the EFF (see Organisations) as you do to the media industry. The media industry is working very hard to restrict your freedoms. It is essential in my view that you support organisations that defend your liberty if you want to retain your freedom.
If you have problems then email me.


DVD encoding script

#!/bin/bash
# Mplayer plays the first track on the dvd to mount it and to check that
# it is the right track before we start, press q to stop playback
# If it is not press control + C and try combinations
# mplayer -dvd 2 or mplayer -dvd 3
# The dvd menu system set up on the dvd does not always put the tracks in
# the expected order
mplayer -alang en -dvd 1
echo “What is the first track of the DVD you want to play?”
read track1
echo “What is the second track of the DVD you want to play?”
read track2
echo “what do you want the first file to be saved as?”
read filename
echo “what do you want the second file to be saved as?”
read filename2
# please note that a width of 480 and bitrate of 800 gives a file size of
# about 650Mb and reasonable quality
echo “what do you want the width of the film to be in pixels?”
read width
# The bitrate must be entered, 800 is mplayer’s default; however the script requires one be entered
echo “what do you want the bitrate of the film to be (default is 800)?”
read bitrate
# note also that I have mp3 bitrate at 256, this is high for good quality, lowering it does not seem to give a smaller file size
mencoder -alang en dvd://$track1 -vop scale -zoom -xy $width -o /home/owner/films/$filename -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=$bitrate -oac mp3lame -lameopts br=256 echo “finished $filename part 1″|mail -s “$filename part1 done” owner@example.com
mencoder -alang en dvd://$track2 -vop scale -zoom -xy $width -o /home/owner/films/$filename2 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=$bitrate -oac mp3lame -lameopts br=256 echo “finished $filename2″|mail -s “$filename2 complete” owner@example.com
echo ” -alang en dvd://$track -vop scale -zoom -xy $width -o /home/owner/films/$filename -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=$bitrate -oac copy
echo “finished $filename”|mail -s “$filename” owner@example.com” >> rip.log
#The rip log is useful in case you are doing a trilogy etc and forget what
#quality the others were done at. For my favourite films I will increase the
#width to 512 and the bitrate to 1400 or more. This gives a file size of about 1G

Comments Off on DVD encoding script more...

Copyright © 1996-2013 Xander Harkness. All rights reserved.
iDream theme by Templates Next | Powered by WordPress
loading