view TOOLS/midentify @ 13349:2bfd09c32fba

Depend on bio2jack v0.3 as it fixes an important bug in JACK_Write() function patch by ismail donmez <kde@myrealbox.com>
author faust3
date Wed, 15 Sep 2004 16:01:34 +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; }'