LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-16-2007, 09:43 AM   #1
rgreeves
Member
 
Registered: Sep 2006
Location: Tucson, Az.
Distribution: hardy heron
Posts: 111

Rep: Reputation: 15
dvd vs avi


Is there a way to create a DVD playable in a dvd player from a .avi file?
 
Old 03-16-2007, 10:31 AM   #2
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
Yes, it's a bit of a pain, for the moment. Here's what I did. I changed the avi to an mpg with ffmpeg. I wrote a little script to do that for a whole directory of avi's, as I had a few dozen short home movie clips I wanted to put on a dvd, and they all had long tedious names. I can post the script here if you want it. It isn't polished or fancy, (read that as having workable basic options but no gui way to change them.) but it does work, for me anyway. Then I used qdvdauthor to put the mpg's in the right format, with a menu, with buttons. Then the command line program mkisofs to build an iso, then I used K3b to burn the iso. The version of qdvdauthor that comes with edgy crashed every few minutes, and I never ever got it to work. I tried to find a deb for the most recent version, but never did. Downloaded the source for the most recent version, and couldn't compile it. So I installed it in a fedora partition I had abandoned a while ago, and it worked like a charm. I can post more details if you are still interested. There are a bunch of tools out there to do this, but it's damn hard to get them to work. It's a pain in the ass.

Let me know if you want/need more details....

David
 
Old 03-16-2007, 11:16 AM   #3
namit
Member
 
Registered: Aug 2005
Distribution: Debian
Posts: 355

Rep: Reputation: 30
if rgreeves does not want the script i would defo like it.

How long would a 700 meg file take to convert do ya think?

also rgreeves you could get a dvd player with usb and copy your stuff onto usb devices and plug them in and away ya go.

Last edited by namit; 03-16-2007 at 11:18 AM.
 
Old 03-16-2007, 11:25 AM   #4
deroB
Member
 
Registered: Dec 2005
Location: Sydney, Australia
Distribution: Arch Linux
Posts: 208

Rep: Reputation: 30
tovid, is an easy way to convert videos to the correct format for creating a dvd.

See here:
http://tovid.wikia.com/wiki/How_to_make_a_basic_DVD

You can use tovid to create dvd menus....but using a gui such as dvdstyler may be easier.
 
Old 03-16-2007, 11:43 AM   #5
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
I used tovid too, or tried to rather. It took a lot longer than my quick and dirty solution, but it does handle the details much better than my little script could do. In any event. Here is my little script. You need ffmpeg installed. Here it is.


#!/bin/bash
echo Which Directory contains the movies you want converted ?
read NAME
cd $NAME
for i in $( ls ); do
ffmpeg -i $i -target ntsc-dvd -b 1100 $NAME/$i.mpg
done

Make sure you don't have anything else in that directory, or it may throw up some sort of error. It also leaves the .avi as part of the filename, so now foo.avi becomes foo.avi.mpg which might not look very elegant, but it did let me know which files were the ones I had converted on my own, and it works just fine too, so I didn't mind.

Another tool I found, was avitovob I think it was. This took far longer than my own solution too, like 10 times longer, far longer than I was willing to wait.

Oh, my script, the -b 1100 option sets the bit rate. 1100 was just a number I came up with that made a ripped version of cars look ok on the tv after being ripped to avi, then transcoded back to mpg, and burned to a dvd-r with snow white and lady and the tramp. You can increase that number to increase the quality, or lower it to decrease the size of the mpg.

Here is a link to avitovob I mentioned.

http://inferno.slug.org/cgi-bin/wiki?AviToVob

Good luck....

David

P.S. I don't really remember, but I think a 700mb file took around 15 or 20 min, but could have been half that, or twice that for that matter.

Last edited by budword; 03-16-2007 at 11:47 AM.
 
Old 03-16-2007, 11:57 AM   #6
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Since I notice from your profile that you are using Ubuntu, you may find this page useful.
 
Old 03-16-2007, 01:20 PM   #7
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
This page is one that I have written about turning AVI files into DVD's playable on any standard DVD player. Providing that MPlayer can play the AVI, Mencoder will be able to convert it.

Then just author it with DVD author, and burn it to DVD.

It does take some time - about 30mins on my machine for an hour long TV recording.

You can just copy and paste the commands of that page, and edit the bits on the last line that need to change (ie file names)

I hope this helps
--Ian
 
Old 03-17-2007, 12:13 AM   #8
rgreeves
Member
 
Registered: Sep 2006
Location: Tucson, Az.
Distribution: hardy heron
Posts: 111

Original Poster
Rep: Reputation: 15
downloaded tovid and when installing I get the error: dependency is not satisfiable: mencoder message
 
Old 03-17-2007, 02:58 AM   #9
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Have you installed mencoder?

--Ian
 
Old 03-17-2007, 09:13 AM   #10
rgreeves
Member
 
Registered: Sep 2006
Location: Tucson, Az.
Distribution: hardy heron
Posts: 111

Original Poster
Rep: Reputation: 15
i use mplayer all the time but have not installed mencoder. How-to?
 
Old 03-17-2007, 08:48 PM   #11
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Code:
sudo aptitude install mencoder


--Ian
 
Old 03-18-2007, 10:30 PM   #12
rgreeves
Member
 
Registered: Sep 2006
Location: Tucson, Az.
Distribution: hardy heron
Posts: 111

Original Poster
Rep: Reputation: 15
ok, I downloaded a .deb version and installed it in my Ubuntu 6.10 system. I had to reboot to find the gui listed in applications. when I click on the gui icon it runs but does not complete. ideas?
 
Old 03-18-2007, 10:34 PM   #13
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
Have you tried my script ? It ain't fancy but it does work. Let us know how it turned out.

David
 
  


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
AVI to DVD ptesone Linux - Software 9 07-21-2009 08:11 PM
AVI to DVD etc awjgold Linux - Software 2 12-01-2006 08:43 PM
avi/dvd stasik Linux - Newbie 4 01-01-2006 11:21 PM
DVD AVI rip to DVD mooreted Mandriva 4 02-20-2005 08:57 AM
AVI on dvd? benne Linux - Software 3 02-05-2005 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:14 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
Open Source Consulting | Domain Registration