newbie parsing -identify

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



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?


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux