annotate TOOLS/midentify @ 14158:b1329a1530f6

Cumulative sync to 1.821 (1.821, 1.820, 1.819)
author gpoirier
date Wed, 15 Dec 2004 17:35:50 +0000
parents 96f874a6cd60
children 70ad5a19d831
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
9572
96f874a6cd60 Prevent vo window flashing.
ranma
parents: 9562
diff changeset
2 mplayer -vo null -ao null -frames 0 -identify "$@" 2>/dev/null |
7865
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; }'