Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Fastest way to compress VDR movies ?
And here an updated version which work with "strange" chars :
#!/bin/bash
Q=5
OUT=/data/anim
BASENAME=`echo "$1"|sed -e "s/\//_/g" -e "s/_video0_//g" -e "s/.50.99.rec//g" -e 's/\\:/h/g' -e "s/:/h/" -e "s/_$//g"`
cd $OUT
mkfifo "${BASENAME}1.mpg"
(mencoder "${BASENAME}1.mpg" -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vqscale=$Q:vhq:v4mv:trell:autoaspect -o "${BASENAME}.avi"; rm "${BASENAME}1.mpg") &
vdrsync.pl -cut -use-pipe -m -basename $BASENAME -ignore c1 $1
if [ -e "$1"/summary.vdr ];then
cp "$1"/summary.vdr $OUT/"$BASENAME".txt
fi
Like Michael says only a minor quote problem :-)
--
Grégoire Favre
________________________________________________________________________
http://magma.epfl.ch/greg ICQ:16624071 mailto:Gregoire.Favre@freesurf.ch
Home |
Main Index |
Thread Index