view TOOLS/midentify @ 8059:e64ff1e1593c

workaround old mencoder's cbr-mp3 header bug
author arpi
date Sat, 02 Nov 2002 21:52:48 +0000
parents d151608b9f28
children 6cf694df50b3
line wrap: on
line source

#!/bin/sh
mplayer -identify "$@" 2>/dev/null |
	grep "^ID" |
	sed -e 's/[`\\!$"]/\\&/g' |
	sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'