LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-14-2009, 09:50 AM   #1
G00fy
Member
 
Registered: Jul 2004
Location: Herent, Belgium, Europe, Earth
Distribution: Ubuntu 7.04
Posts: 102

Rep: Reputation: 15
Smile ffmpeg: howto convert dvd/mkv to avi?


Hi all,


How can I convert a dvd to an xvid (avi) with ffmpeg?
How can I do the same with an mkv file?

I would like to use normal vbr for the audio. And I would like to use 2 passes for the resulting avi.

How can I determine the video bitrate so I end up with a target size of about 800MB?


All tutorials I find online are for mencoder, but that program is awfully slow (read: same speed as the movie plays). So I would like to give ffmpeg a shot, but I don't know what commandline to use.


Thanks!
 
Old 01-14-2009, 11:17 AM   #2
arckane
Member
 
Registered: Sep 2005
Location: UK
Distribution: Gentoo/Debian/Ubuntu
Posts: 307

Rep: Reputation: 39
Hey Goofy, give avidemux a try. It's GUI or command line (with scripts) based but will do what you want.

FFmpeg gives you most of the information you require if you just do 'ffmpeg -h | less' (you'll need to pipe through less as there is a ton of info!).

Other than that, you'll want to research bitrate calculators to get the resulting file size to 800mb. As I said, try Avidemux as it has built in ffmpeg as well as lavc and a whole bunch of other encoders which should do exactly what you want.
 
Old 01-14-2009, 11:25 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
I would recommend OGMRip, it rips the DVD, and has many options on how to encode it including size restrictions. I have tried many other programs and they have failed me, so this is the only one so far that I can recommend. It also has threading options, so if you have a Dual or Quad core, it's somewhat faster.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
convert .mkv to .avi Gortex Linux - General 10 12-05-2017 03:19 AM
Convert from avi to DVD gabsik Linux - General 4 12-18-2008 01:28 PM
How to convert .ts files to mkv or avi Pearlseattle Linux - Software 3 03-26-2008 12:26 PM
avi to dvd with ffmpeg Synesthesia Linux - Software 9 03-06-2006 12:29 AM
howto convert .avi to svcd? Brain Drop Linux - Software 3 11-28-2004 09:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:50 PM.

Main Menu
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration