I use nuvexport to get the nuv file.  Then I use  the following script
that someone on the mailing list provided to do the rest.  Make sure
the directories exist or you will get weird problems and coasters.


[EMAIL PROTECTED] bin]# cat make.dvd
#!/bin/sh -x

##################################################################
#
# make.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
#
################################################################

set -e
cd /export/data/cache
WORKDIR=work$$

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

rm aud0
rm vid0
rm dvdmpg
echo Sleeping 60 secs...  Last chance to cancel!
sleep 60
growisofs -dvd-video -Z /dev/dvd $WORKDIR
echo Ejecting in 30 secs...
sleep 30
eject
rm -r $WORKDIR

exit 0
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to