Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Fastest way to compress VDR movies ?



Hello,

right now I convert using this small script :

#!/bin/bash
OUT=/data/anim
Q=3
BASEMAME=`echo $1|sed -e "s/\//_/g" -e "s/_video0_//g" -e "s/.50.99.rec//g"  -e "s/:/h/" -e "s/_$//g"`

cd $OUT
mkfifo "$BASEMAME"1.mpg
mencoder "$BASEMAME"1.mpg -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vqscale=$Q:vhq:v4mv:trell:autoaspect -o "$BASEMAME".avi &
vdrsync.pl -cut -use-pipe -m -basename $BASEMAME -ignore c1 $1
if [ -e $1/summary.vdr ];then
cp $1/summary.vdr $OUT/"$BASEMAME".txt
fi

Only problem is with name that have special characters like (...
-- 
	Grégoire Favre
________________________________________________________________________
http://magma.epfl.ch/greg ICQ:16624071 mailto:Gregoire.Favre@freesurf.ch




Home | Main Index | Thread Index