[mythtv-users] Cutting commercials without expensive transcoding

stan stanb at panix.com
Sun Mar 14 08:33:29 EST 2004


On Sat, Mar 13, 2004 at 01:23:26PM -1000, James L. Paul wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Saturday 13 March 2004 10:59 am, papenfuss at juneau.me.vt.edu wrote:
> 
> This is basically my own goal. I do it manually now. I don't feel the 
> disadvantage as strongly as you imply it to be, since if I really want to 
> shrink the size requirements I simply requantize the video instead of 
> re-encoding.
> 
Mind detailing how you are acomplishing this?

I'm using the following script, but I think it could be improved on, 
quite a bit. For example I wish it had a nice selectin interface like
nuvexport. 

BTW anyone no why nuvexport doesn't write a good DVD when your captures
are from 350/250 cards?


#!/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

-- 
"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