Welcome to the most active Linux Forum on the web.
Go Back > Blogs > sag47
User Name


Rate this Entry

DVD Ripping

Posted 04-25-2011 at 10:54 AM by sag47

I work for a Scientific Institution and a company which recorded talks decided to give us all the talks in DVD format instead of a hard drive full of video files. This is kind of counter intuitive however luckily I use Linux at work. Long story short mencoder with lame installed solved my problems.

-vf harddup 
-vf-add smartblur=.6:-.5:0,unsharp=l5x5:.8:c5x5:.4 
-xvidencopts fixed_quant=4:profile=dxnhtntsc 
-lameopts cbr:br=128:aq=0:vol=1 
-oac mp3lame 
-ovc xvid 
infile.vob -o outfile.avi
Source of my command.
Posted in Uncategorized
Views 5937 Comments 1
« Prev     Main     Next »
Total Comments 1


  1. Old Comment
    I found a nice solution for lossless encoding using ffmpeg. I think I like it more than use mencoder.

    ffmpeg -i VTS_01_1.VOB -acodec libfaac -aq 100 -ac 2 -ab 128k -vcodec libx264 -vpre lossless_medium -threads 4 video.mp4
    From the man page I used the FAAC audio codec with audio quality 100% (-aq 100), two audio channels (-ac 2), and an audio bitrate of 128kbps (-ab 128k).

    For the video quality I used some preinstalled presets.
    Originally Posted by ffmpeg man page
           If no such file is found, then ffmpeg will search for a file named
           codec_name-arg.ffpreset in the above-mentioned directories, where
           codec_name is the name of the codec to which the preset file options
           will be applied. For example, if you select the video codec with
           "-vcodec libx264" and use "-vpre max", then it will search for the file
    The quality preset file can be found at (on my system):

    The -threads means that it will encode the video taking advantage of multiple cores on a system. I have four processing cores so I set threads to 4 (-threads 4).


    I got ffmpeg for Fedora 16 from these repositories.
    rpm -Uvh
    rpm -Uvh
    You may find that you won't have the required codecs. I had to use an alternate audio codec other than faac because it wasn't available for my system. You can view available codecs for ffmpeg with the following command.

    ffmpeg -codecs
    Posted 06-11-2012 at 08:19 PM by sag47 sag47 is offline
    Updated 06-11-2012 at 08:32 PM by sag47


All times are GMT -5. The time now is 01:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration