view TOOLS/midentify @ 13342:dbe255cbae71

Cumulative patch: 1.718: Audio output driver suboptions documented 1.717: Consistency fixes, spelling 1.716: All video driver suboptions documented, gif and tga examples + Diego suggestions/fixies on above patches, and on previous commit + small Nroff formating fixes
author gpoirier
date Wed, 15 Sep 2004 13:08:53 +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; }'