Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
TRENDING TODAY
Home > News > Linux > Other Tips, Tricks and Tutorials

May 6th, 2007, 13:40 GMT · By

Convert DVD-Video to AVI with Avidemux

SHARE:

Adjust text size:

Panasonic DVD camcorder
Enlarge picture
Let's say you have a DVD camcorder, you've recorded some important events and now you want to convert them into AVI format. What are you going to do? The following guide will teach you how to achieve this task in a few minutes (except the conversion process, which is done automatically and takes between 30 minutes and 1 hours, depending on how fast your computer is and the video codec used). The following guide can also be applied to DVD-Video movies.

Needed tools

Before you start, copy the DVD-Video to your hard drive. Now, you need to install Avidemux (2.3.0 is the latest stable version), which is one of the fastest and best video editors/converters you will find these days (did I mention FREE?), and of course all the multimedia codecs. I guess you have Automatix2 installed; if not please take a look here. Open Automatix2, go to 'Codecs and Plugins' and check the following:

AUD-DVD Codecs
MPlayer and FF plugin
Multimedia Codecs

then go to 'Media Players and Editors' and check Avidemux. Click the 'Start' button and let Automatix2 do its job, you will know when everything was installed and you can close it.

Open your DVD in Avidemux

Open Avidemux, go to 'File -> Open' and search for your DVD-Video folder that you've just copied to your hard drive.

Review imageReview image


You should know some things about the files in that folder (VIDEO_TS), because it's better for you to know what you are doing than just doing it like a robot. All the files that contain a DVD (MPEG-2) video have the .VOB (DVD Video Object) extension, and these are the files you are interested in. But NOT all of them, as the VIDEO_TS.VOB file always contains the DVD Menu, so the main video you want to convert can be found in the VTS_01_1.VOB, VTS_01_2.VOB files. The files with the .IFO extension contain all the information about the video files, information about chapters, subtitles, audio streams etc. The .BUP files are just backups of the .IFO files.

Open the VTS_01_1.VOB file in Avidemux. You will be asked if you want to index it; click 'Yes'. Then Avidemux will detect the other VOB files from the same set and it will ask if you want to append them, so click 'Yes' if you want to convert the whole movie, or click 'No' if you want to convert just this one file. Avidemux will start to index your files, it will take about one minute, and when it's done you'll see the video in the main window.

Review imageReview imageReview imageReview image


Configure the video codec

In the left side of the Avidemux's main window, you will notice the 'Video', 'Audio' and 'Format' sections. Let's start with the 'Video' section, click the 'Copy' button (drop-down list) and select a codec. I suggest the following codecs:

x264 - for a faster encoding, smaller file size and best picture quality. But you can't see the resulted video on a home DVD player, only on your PC.
Xvid4 - for compatibility with any standalone DVD player, but it will take about 2-3 times longer to convert the video.

I've chosen the x264 video codec for this guide. Click the 'Configure' button after you've selected the codec and configure the codec like in the pictures below.

Review imageReview imageReview image


In other words, click the 'Motion & Misc' tab and select the '7B - Ultra High (RDO on Bframes)' option under the 'Partiton decision' section and the 'Exhaustive search' under the 'Method' section. Then, if you want to reduce the noise of the video, you can increase to 1 or 2 the 'Noise Reduction' option found on the right-bottom part of the window, in the same tab. Click OK when you're done.

Configure the audio codec

To configure the audio codec, click the 'Copy' button (drop-down list) and select the desired audio codec, from the 'Audio' section. Hold on, don't select just any codec yet, because here I strongly suggest you to select the 'FFm AC3' codec. Why? Because Ive tried 'Lame' (MP3) and the sound is of very low quality in the final result. But, if you don't care about the sound and you just want a smaller AVI file, you can select the 'Lame' codec.

Review imageReview image


However, if you do care about the sound and you want to have the best possible sound on your video, remember that your original sound is AC3 and you should keep it that way. Click the 'Configure' button after you've selected the 'FFm AC3' codec and select a desired bitrate from the drop-down list. Please select the same (or better) bitrate as your original audio. My camcorder records audio at 256 kbits, but because this one is not in the bitrate list, I've chosen the 384 kbits one.

Video/Audio Filters

Video filters

If your videos are recorded in the 16:9 format, the you should consider applying a resize filter. Click the 'Filters' button (in the 'Video' section) and select the 'Resize - Picture resizer ported from Avisynth' option and hit the + button (at the bottom of the list). A window will appear, please enter the Width 616 and Height 352 and click the OK button (NOT Apply). You will see the filter in the empty side of the window and you can click the 'Preview' button to see how the final video will look like.

Review imageReview imageReview image


Please take a look at the video filters, if you want to create artistic videos or you just want to modify the video in any possible way. Avidemux has a lot of filters and does a wonderful job.

Audio filters

The AC3 codec has also some filter options, so please click the 'Filters' button (in the 'Audio' section) and if you know what you're doing, change the settings to suit your needs. I've selected the 'Dolby Prologic 2' option from the 'Mixer' section (bottom) for my audio track, but you can do other stuff, like resample the sound, convert the FPS or change the Gain.

Review image


Ready,Set,Go!

The 'Format' section should remain on AVI (default). To start the video conversion please click the 'Save' button (File -> Save -> Save video...), select a folder where you want to save the file, type a name for the final AVI file (type also the .avi extension after the desired filename) and hit the 'Save' button. A new window will appear to show you some options and the current progress of the conversion.

Review imageReview image


When the conversion is finished, you will be notified that the conversion process was successful.
FILED UNDER:
DVD
AVI
Video
Conversion
Linux


121,525 hits · 13 comments
Link to this article · Print article · Send to friend

MUST-READ RELATED ARTICLES:


How to Install Video Drivers on Fedora Core 6

What Should You Expect from Ubuntu 7.04

IBM, Oracle, NEC to Promote Linux in Japan

Sony PlayStation 3 Support in Linux Kernel

Ubuntu 7.04 - Well Done

READER COMMENTS:


Comment #1 by: Dennis Hedegaard on 27 Jul 2008, 09:42 UTC reply to this comment

Pretty damn good article, I had to use vobcopy before opening the vobs though, otherwise they'd look pretty fucked up.

Anyways, nice you went through the filters as well, I removed the black lines in the top and the bottom as well, don't know if that changes the aspect ratio, but I'll find out soon.


Comment #2 by: Henio Lachs on 19 Aug 2009, 17:29 UTC reply to this comment

A very good article. Thank You.


Comment #3 by: joelpt on 31 Aug 2009, 02:59 UTC reply to this comment

For ripping from DVDs I'd also recommend adding a deinterlacing video filter (press the Filters button under the Video type dropdown box then click Interlacing, select a filter and press the green + button at the bottom). This prevents the "mouse teeth" effect you can see when there's a lot of motion in a scene. I've had good results with the yadif deinterlacer using default settings.


Comment #4 by: wguru on 20 Oct 2009, 18:43 UTC reply to this comment

Was a *itch trying to copy and save this article (thumbnails need to be link connected, copied and pasted, then re-sized for Word document, one at a time), but at least someone posted the article (thanks). Unbelievable that a simple guide isn't in the install pkg.


Comment #5 by: fjdsif on 14 Jan 2010, 07:07 UTC reply to this comment

if you need convert dvd to the formats what you want,you can find an answer.


Comment #6 by: sfelix on 09 Feb 2010, 14:49 UTC reply to this comment

Thanks for this wondrful utlity. i was searching for a utlity to convert my avi movies to dolby 5.1 sound . but i want one more help please. after converting my 700 mb avi movies to
5.1 digital effects. my file size increased to 1 gb can u pls help me to mantain my file size same as 700 mb .with dolby 5.1 audio ??

pls reply..

Comment #6.1 by: Marius Nestor on 09 Feb 2010, 15:29 GMT

You can't! It's impossible....because the 5.1 audio file contains 6 channels and not just 2, like the original 700 MB video. I hope you understand.


Comment #7 by: redfox1 on 23 Sep 2010, 15:20 UTC reply to this comment

like avidemux for trimming files but saving my work to use in w. movie maker is a problem.
what sound codec is on every computer?
want small clips so when made into a movie they stream across the internet quickly.


Comment #8 by: sandysal on 22 Oct 2010, 07:18 UTC reply to this comment

I realize this post is a bit old now, but i was rather shocked by the nonchalance with which you claim an x264 encode is FASTER than xvid when in fact I believe it's common knowledge that it's always been the other way around. The only time I've ever found x264 to be faster is when I want to obtain a quality so mediocre as to be unusable. Comments?


Comment #9 by: Bourkie on 12 Nov 2010, 01:30 UTC reply to this comment

Firstly - great cutting edge article for 2007. Vvery impressive!

Minor correction: 'x264' is encoder software - it is not a codec (as you have listed). The codec is h.264 / AVC (MPEG 4 Part 10), like Xvid and DivX are also a codecs (MPEG 4 Part 2).


Comment #10 by: embee on 27 Nov 2010, 12:57 UTC reply to this comment

It is one of the BEST guidelines i've read on this subject. I've been at it for a few days. Thanks.


Comment #11 by: scooby_doo on 12 Jan 2011, 22:50 UTC reply to this comment

i have a .vob file, an xbox 360 gameplay movie footage that i recorded on dvd disc. everytime i try to open it up through avidemux, it get an error message saying "can't determine ratio aspect." And then only a small portion of the video is displayed through avidemux. it's like half of the video has been cropped out.

any help?


Comment #12 by: bob on 27 Mar 2011, 11:40 UTC reply to this comment

Thanks a lot for this help !

Copyright © 2001-2013 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM