view TOOLS/midentify @ 9572:96f874a6cd60

Prevent vo window flashing.
author ranma
date Wed, 12 Mar 2003 16:25:25 +0000
parents 6cf694df50b3
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; }'