SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Using Slackware 12.2
I have a avi file. I think it is xvid or divx. I want to convert it to DVD to burn so I can play on my home player.
I have avidemux and ffmpeg installed. I converted the avi file so far with ffmpeg & got a .mpg file, but don't know if there is anything else I need to do.
JosephS, for burning DVD's I use k3b. It is fairly easy and straightforward. I do not know, however, how to convert the video files. For future reference (in case you have an original DVD) you may use dvd::rip to rip them onto a hard drive.
JosephS, for burning DVD's I use k3b. It is fairly easy and straightforward. I do not know, however, how to convert the video files. For future reference (in case you have an original DVD) you may use dvd::rip to rip them onto a hard drive.
Just another idea to put in the toolbox
K3B is a great program. I'm Xfce now, and just use Xfburn. It has two dependencies and all that is on RW website if you interested: http://rlworkman.net/pkgs/ I mainly only burn images these days, but I'll check out the aforementioned programs myself.
Thanks.
I read the file: .
Do I need an xml file to make a DVD. If I just want a DVD to play can I burn the dvd.mpg file I made with ffmpeg?
Thanks.
Some dvd players can read other formats such as .avi and .mpg copied directly to a dvd, some can't. Look at your manual.
I have been very happy with tovid. It has a gui, but I find the command line utilities simple, easy and flexible. It has a wonderful, newbie friendly approach, because after every step in the process, you get a message: "And next do this". All the dependencies are on slackbuilds.org, and the tovid sight has its own SlackBuild for its program (thank you very much!).
I've heard good things about Devede, but never tried it.
Oh, and you do need an xml file to generate dvd formated video, but tovid, and I'm sure Devede, will generate them automatically for you.
I save digital tv broadcasts to disk and often burn them to dvd's for viewing later. This is legal in Australia. Here is how it can be done and yes, if you are making a dvd you need a dvd.xml as you will see below.
After editing out anything I don't want in the video I encode as an mpeg-ps with mplayer. This is the only format I ever work with and AFAIK it is the only format used for the dvd's you'd rent or purchase.
I use dvdauthor to create the dvd file system which contains more than just movie files and dvdauthor requires a dvd.xml file which is basically the instructions as to what the dvd will consist of including menus, chapters, etc. The dvdauthor man page has an example dvd.xml but I'll paste in a simpler generic one generated by the create-dvd script I use to encode, shrink, crop borders and burn dvd's.
So given that I have taken movie.mpg and encoded it as a file I call movie.vob, I will first use this command:
Quote:
dvdauthor -o dvd -x dvd.xml
which will create the dvd filesystem with 1024mb vob files in a directory named dvd in the pwd. note that dvd.xml is also in the pwd.
Next I will create an iso of the dvd with the command:
Quote:
mkisofs -dvd-video -o movie.iso
and finally I will burn it on the dvd drive located as /dev/sr0 with the command:
Quote:
growisofs -Z /dev/sr0=movie.iso
I use a gui program named gopdit to do the editing and then the rest I do cli. It is resource intensive and I often do it on the server where the videos are saved since there is plenty of grunt to spare and I can turn off my pc and walk away while the dvd is created and burned. Sometimes I still do them manually on my workstation but I never bother with anything but the cli commands.
Here's a dvd.xml created by my script. It's simple and provides for a chapter break every 5 min for 120 min. If the movie is shorter it don't matter, if it's longer than the last chapter will be the difference be it one minute or fifty.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.