LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > sag47
User Name
Password

Notices


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.

Code:
mencoder 
-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 6735 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

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

    Code:
    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.
    Quote:
    Originally Posted by ffmpeg man page
    Code:
           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
           libx264-max.ffpreset.
    The quality preset file can be found at (on my system):
    /usr/share/ffmpeg/libx264-lossless_medium.ffpreset

    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).

    Sources:
    http://superuser.com/questions/22777...on-with-ffmpeg
    http://ubuntuforums.org/showthread.php?t=1564791

    I got ffmpeg for Fedora 16 from these repositories.
    Code:
    rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
    rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
    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.

    Code:
    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 10:20 AM.

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