[mythtv-users] nuv to dvd

Hendrik Wouters hwouters at pandora.be
Sun Aug 1 11:01:19 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

I've been searching around on the net and finally made the following script to 
transcode a nuv file to a an mpg-file from which I can make a dvd with 
dvdauthor (dvdauthor -o DVD out.mpg):

- ----

#!/bin/sh
mythtranscode -l --chanid <number> --starttime   
<year>-<month>-<day>T<hour>:<minuts>:<secs> --profile autodetect --fifodir . 
&
sleep 1s
mencoder -audiofile audout -audio-demuxer 20 -rawaudio rate=48000 -rawvideo 
on:w=480:h=576:fps=25 -ovc lavc  -lavcopts vbitrate=6000 -oac pcm -o  out.avi 
vidout 
transcode -i  out.avi -V -y mpeg -F d --export_fps 25 --export_asr 2 -E 48000 
- -b 224 -o  out -Z 480x576
 killall -KILL mythtranscode
 rm  out.avi
 mplex -f 8 -o  out.mpg  out.m2v  out.mpa
 rm out.m2v out.mpa


- -----

This script has to encode the video 2 times, one time with mencoder and the 
other time with transcode. To safe cpu-time and video-quality, it should be 
better to transcode it with one encoder. I allready tried to encode the 
mythtv-stream with transcode, but I get a corrupt videostream. Anyone knows 
the correct syntacs? Other ideas are welcome too.

Thanks in advance.

Greetings Hendrik

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBDQW/bjpOAN3obCoRAlKnAKCEk5KoJZ3OhqSNextXc/0ciB8OpQCeMxW4
Clz2K1gZw+7/OAqyRTiy/oE=
=J78X
-----END PGP SIGNATURE-----


More information about the mythtv-users mailing list