view TOOLS/midentify @ 13456:25519a9feab0

Better x264 descriptions/fixes based on Loren Merritt's patch (Thu, 23 Sep 2004) Also a wording fixed picked up by Diego
author gpoirier
date Sat, 25 Sep 2004 09:43:57 +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; }'