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