view TOOLS/midentify @ 14739:d5ec03284ccf

Description of -af format was outdated. This updates it. Feel free to change spelling or phrasing :) Note: There's no official spelling of endianness. Personally I prefer a single n, but the majority seems to use double n. Since I'm not a native speaker, I used 'endianness' here.
author ivo
date Sun, 20 Feb 2005 03:58:15 +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; }'