view TOOLS/midentify @ 13277:ffe4d98eed6b

Cumulative patch "X11 options do not affect SDL", "\-noencodedups", "mplayer -af help now lists all available audio filters", "pullup docs + new feature for slow cpus"
author gpoirier
date Tue, 07 Sep 2004 09:59:27 +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; }'