view TOOLS/midentify @ 14786:e1bf5e07962f

100l to michael :)))) vi_qoffset/vb_qoffset have been broken ever since the qp2lambda stuff went in, which is a LONG time ago.....
author rfelker
date Thu, 24 Feb 2005 02:31:41 +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; }'