[mythtv-users] ivtv, MythTV and DVDs

Fa Yoeu fayoeu at gmail.com
Fri Jan 7 14:56:59 EST 2005


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.


[root at mythtv 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


More information about the mythtv-users mailing list