[mythtv-users] Writing DVD from .vob files?

stan stanb at panix.com
Tue Mar 9 22:14:23 EST 2004


On Tue, Mar 09, 2004 at 02:29:22PM -1000, James L. Paul wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Tuesday 09 March 2004 9:36 am, stan wrote:
> > On Tue, Mar 09, 2004 at 10:22:09AM -0800, Tom Marshall wrote:
> > > On Tue, Mar 09, 2004 at 10:00:33AM -0500, stan wrote:
> > > > OK, so now that I can create .vob files from a DVD, and play them back
> > > > in the correct language (thansk list(, what do I need to do to write
> > > > the .vob files back to a DVD?
> > >
> > > This should get you started:
> > >
> > >   http://www.google.com/search?q=dvdrecord
> >
> > Interesting.
> >
> > I'm using a KnppMYTH V4R2 systme, and an apt-cache search leads me to
> > dvdrecord. And that packages os already installed.
> >
> > Great, so I fire up the man page, and look, there is teh _cdrecord_ man
> > page, pretty much word for word. I recall trying ti use cdrerd ealrier in
> > this quest, and winding up looking at a Debain README, that mentione an
> > uinsupported patch to cdrecord to work with DVD's.
> >
> > I gather that dvdrecord is cdrecord with this patch applied?
> >
> > Are .vob's the equivilant of ,iso's for DVDs? Or do the require some
> > conversion prior to writing to DVD's?
> 
> No. The .vob files are just part of the DVD file structure. For a Linux-based 
> solution, investigate dvdauthor.
> 
> dvdrecord and cdrecord-ProDVD are just the burning apps, they have nothing to 
> do with creating the image you need to burn. The dvdauthor app can create a 
> DVD structure from VOB or MPEG files. The mkisofs can create an ISO image 
> that is burnable to DVD media.
> 
Thanks for the help.

I've got this script working for recording a DV from a MPEG2 stream


#!/bin/sh

##################################################################
#
# wrie_dvd
#
# Writes a DVD from a MythTV saved .nuv file (assumeing it was saved 
# with a PVR-250 or OVR-350, thus it's already in MPEG2 format)
#
# Argument 1 is the name of the .nuv file
#
################################################################

WORKDIR=work$$

cd /cache/tmp

mkfifo aud0
mkfifo vid0
mkfifo dvdmpg
mpeg2desc -a0 < $1 > aud0 &
mpeg2desc -v0 < $1 > vid0 &
mplex -f 8 -V -o dvdmpg aud0 vid0 &
dvdauthor -o $WORKDIR -f dvdmpg
dvdauthor -o $WORKDIR -T

rm aud0
rm vid0
rm dvdmpg

growisofs -dvd-video -Z /dev/dvd $WORKDIR

rm -r $WORKDIR

Presently it works for _just one at a time_ but I do know how to
modify it to put multiple MPEG2 files on one DVD.

What I'm trying to do is create one like it to use .vob files
as input foder.

Thanks for any clues on this. I really don't understnad just how
this whole thing workd.

I'll go read the references you pointed to.

Thanks again.

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin


More information about the mythtv-users mailing list