Mailing List archive

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

[vdr] mplayer.sh 0.8.1



I had some problems with mplayer.sh, it could take up to 30-40 seconds before a movie started and some movies didn't start at all,
instead mplayer generated png images of each frame which wasn't at all what I wanted =)
The problem is in the identify section in getvidxy, so I changed
TEMP1=`$MPLAYER -identify "$FILE" 2>&1 | grep -i -e "^ID_"`
to the example in the midentify script that comes with mplayer (TOOLS/midentify)
looks like this:
mplayer -vo null -ao null -frames 0 -identify "$@" 2>/dev/null |
grep "^ID" |
sed -e 's/[`\\!$"]/\\&/g' |
sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'

now it works without any problem at all...I think that just setting -vo null -ao null would have solved the problem for me.





--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index