[mythtv-users] Re: XvMC output not working
Romain Kang
romain at kzsu.stanford.edu
Sun Jul 31 21:31:32 EDT 2005
I have found that iteratively trying to connect to Xvmc seems to work.
Sometimes it has taken as many as about 20 tries. Here's the script I use:
#! /bin/sh
TESTFILE=$HOME/romain/xvmc/kqed.ts
MAXTRY=100
MPLAYER_FLAGS="-vo xvmc -vc ffmpeg12mc -really-quiet yes"
STATUS="Failed"
i=0
while [ $i -le $MAXTRY ]
do
i=$(($i+1))
mplayer $MPLAYER_FLAGS $TESTFILE
if [ $? = 0 ]; then
STATUS="Succeeded"
break
fi
done
echo "$STATUS after $i tries."
More information about the mythtv-users
mailing list