[MPlayer-users] [newbie] GUIDE to mencoder (1 or 2 CD)

Martin Collins martin at mkcollins.org
Sat Jun 12 06:57:25 CEST 2004


On Sat, 12 Jun 2004 07:17:43 +0400
Philippe Monroux <ph.monroux-DEL-SPAM at wanadoo.fr> wrote:

> OGG_SIZE=`ogginfo $NAME.ogg | grep data | cut -d' ' -f4`
> 
> Why "grep data" ? ogginfo doesn't provide data ... 

The word "data" appears in the line of ogginfo output that tells you
how much data is in the ogg file, like so:

	Total data length: 5423273 bytes

The grep finds the right line and the cut extracts the numbers from it.

Martin




More information about the MPlayer-users mailing list