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."
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to