Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old December 17th, 2006   #1
netyire
Just Give Me the Beans!
 
netyire's Avatar
 
Join Date: Dec 2006
Location: Netyireland. Come visit!
My beans are hidden!
Ubuntu 9.10 Karmic Koala
Send a message via ICQ to netyire Send a message via MSN to netyire
Mov/Divx/Xvid/Wmv/Etc to DVD (PAL or NTSC)

A Guide To: Making DVDs from Various Formats (Get the script here: http://www.ubuntuforums.org/showthread.php?p=1900382)
Tools Requried:
  1. mencoder
  2. ffmpeg
  3. dvdauthor
  4. genisoimage or mkisofs (pre 8.10 users)

Please note, following this guide will produce a disc without menus.

Step 1: Convert Media to .AVI (Go to the next step, if the file you wish to convert is already in the .avi format)
Okay, the first thing you need to do is to transcode your media into .avi format so that it is accepted by ffmpeg. (I tried using ffmpeg directly to convert a .mov to .mpg. It did not work ) To do so type the following in the terminal:

mencoder <inputfile> -ovc xvid -xvidencopts pass=1 -oac mp3lame -lameopts vbr=3 -o /dev/null

After which type:

mencoder <inputfile> -ovc xvid -xvidencopts pass=2:bitrate=1000 -oac mp3lame -lameopts vbr=3 -o <outputfile>

Okay, now we have a xvid .avi file to work with!

Step Two: Convert the .avi file to a .mpg file

Right, now that you have a file that ffmpeg will accept, enter the following to transcode the file into a compliant .mpg file.

ffmpeg -i <outputfile from the above> -target pal-dvd final.mpg

If you DVD player uses ntsc then replace the 'pal' to 'ntsc'. Or if you want you can type:

ffmpeg -i <outputfile from above> -target pal-dvd -aspect 16:9 final.mpg

This will make the aspect ratio 16:9, see if it works for you.

Now you have your final .mpg file ready.

Step 3: Create the DVD file structure

Enter:

dvdauthor -o DVD/ -t final.mpg


and then:

dvdauthor -o DVD/ -T


Simple and fast, you now have the your DVD structure!

Step 4: Create The .ISO File

Type:

mkisofs -dvd-video -v -o DVD.iso DVD

And you finally have the .iso file ready for burning!

Merry Christmas!

Last edited by netyire; December 8th, 2008 at 03:55 AM.. Reason: mkisofs is included in already installed genisoimage package in 8.10
netyire is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:18 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry