annotate TOOLS/midentify @ 11028:cc4aa6cf7571

sync
author nicolas
date Mon, 06 Oct 2003 16:40:24 +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; }'