Mercurial > mplayer.hg
view TOOLS/midentify @ 12800:d4e22e1f39f8
x86_64 fix by John Stebbins <john@stebbins.name>
author | faust3 |
---|---|
date | Mon, 12 Jul 2004 08:55:10 +0000 |
parents | 96f874a6cd60 |
children | 70ad5a19d831 |
line wrap: on
line source
#!/bin/sh 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; }'