Register
It is currently Wed Apr 16, 2014 6:48 pm

Script that wraps Mplayer/Mencoder


All times are UTC - 6 hours


Post new topic Reply to topic  [ 1 post ] 
Author Message
 PostPosted: Fri Sep 25, 2009 3:11 am   

Joined: Fri Sep 25, 2009 2:42 am
Posts: 1
I have a script currently called rip that rips DVDs to H.264 using x264 with mencoder. It always does 2 passes and runs 2 threads(two cores). It has many lines but I'm sure if we work together we can shorten the number of lines and add more functionality. Uhm...for now, it does what it is supposed to do. It could use a little bit more functionality but it is user friendly once you have the right tools installed. It requires libdvdread, lsdvd, mencoder/mplayer with x264, sed and of course bash. Here is the syntax below:

./rip.s dvd_device bitrate movie_name audio_id title

Examples:
./rip.sh /dev/sr0 1200 Movie_Name 128 1
This will rip title 1 from device /dev/sr0 and place the video files into MovieName directory. The resulting file will be Movie_Name.avi.

or if you have a range of titles to rip you can also specify this like so:

./rip.sh /dev/sr0 1200 Movie_Name 128 1-3

or if you don't know which title... It'll choose the longest title for you with the trailing option below. Just change the title field to auto

./rip.sh /dev/sr0 1200 Movie_Name 128 auto

If you're not sure what the options are just run the script without any options. It will tell you if you can't remember or are not sure.

I created the script because Acidrip ceased to work after a while. It no longer does what it used to do. Maybe it'll work on older distributions. In summary, Acidrip has not been updated to use the latest libraries. My script has much less of the functionality that Acidrip once had but it gets the job done. If anyone is interested please let me know and I will most definitely post it here. I look forward to porting this to python one day and calling it Acidripy using pygtk.Thank for reading. look forward to hearing from you guys.


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP