The Wizard of Oz
Guest
|
Posted:
Wed Nov 09, 2005 12:04 am Post subject:
Finally created a video DVD under Linux and had it play |
|
|
While you M$ and Mac guys may think this is a fairly common thing in the
Linux world we are still getting organized. We were delayed a couple of
years while we sorted out whether it was even legal to play a DVD under
Linux since we were refused licensed players at first.
There are a number of tools available, but they aren't exactly unified
into a single package. They also have to have other programs installed
before they will work. Since everything is still done from a command line
the parameters sent to the programs need to be exact. That is what has
tripped me up for a while.
The tools are
mplayer - An amazing video player which has an encoding package included.
videotrans - A package for creating VOB files and menus. Calls the encoder
from mplayer.
dvdauthor - A program to create a properly formatted set of
directories to put on the DVD.
growisofs - A program included with Linux which creates raw file systems
on blank media.
Here is the minimal set of commands. It puts a single video on the DVD
You may arrange it into a shell script if you find it easier...
============
# part of videotrans - Translate to vob file
movie-to-dvd -m ntsc -M <file-name>
# part of dvdauthor - Create the file structure - DVD is an existing
# empty directory
dvdauthor -o DVD <modified-file-name>.vob
dvdauthor -T -o DVD
# part of growisofs - Put the directory structure on a DVD - My DVD drive
# is /dev/hdb
growisofs -Z /dev/hdb -dvd-video DVD
=========================
Videotrans and dvdauthor can be used to create multiple videos and menus.
Later
Mike
|
|