newbie parsing -identify

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

 



From: ... <offonoffoffonoff at gmail.com>

> I am familiar with scripting (eg python) but am new to linux and shell
> scripting.  Could someone give me a hint as to how to grab the value of
> ID_LENGTH from the mplayer -identify output?

export `mplayer -really-quiet -vo null -ao null -frames 0 -identify <VIDEO> | grep ID_LENGTH`
echo $ID_LENGTH

But if you use python, why would you do it in shell?

JD


      


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