[MPlayer-users] newbie parsing -identify

andrew andrew.david.45 at gmail.com
Wed Jan 20 11:16:41 CET 2010


On Wed, Jan 20, 2010 at 10:32:11AM +0100, Christian Ebert wrote:

> mplayer -endpos 0 -vo null -ao null -identify <infile> 2> /dev/null |
> awk -F '=' '/^ID_LENGTH/ { print $2 }'

Another way is to use midentify.sh from TOOLS:

midentify.sh <infile> | grep 'ID_LENGTH' | cut -d '=' -f 2

Many different ways to do this one :).

Andrew

-- 
Do you think that's air you're breathing?


More information about the MPlayer-users mailing list