annotate TOOLS/midentify @ 9463:93375ee56629

gif library incompatibility fixes and prefere libungif over libgif. Patch by Joey Parrish <joey@nicewarrior.org>
author alex
date Wed, 19 Feb 2003 16:55:14 +0000
parents d151608b9f28
children 6cf694df50b3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7865
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
1 #!/bin/sh
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
2 mplayer -identify "$@" 2>/dev/null |
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
3 grep "^ID" |
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
4 sed -e 's/[`\\!$"]/\\&/g' |
d151608b9f28 Add convenience wrapper for mplayer -identify
ranma
parents:
diff changeset
5 sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'