[FFmpeg-devel] [PATCH] ffprobe: add compact and compactnk writers

Clément Bœsch ubitux at gmail.com
Sun Sep 25 15:44:59 CEST 2011


On Sun, Sep 25, 2011 at 03:39:29PM +0200, Nicolas George wrote:
> Le quartidi 4 vendémiaire, an CCXX, Stefano Sabatini a écrit :
> > Output looks like this:
> > [...]
> > PACKET: audio|1|238080|238.080000|238080|238.080000|26|0.026000|26.000000|9866826|K
> 
> This does not work very well with awk: to separate the fields, it needs
> FS="|", but then, the first field is not separated from the label.
> 
> Maybe "PACKET:|audio|..."?
> 

Looks weird. I'd drop the ':' in that case. Also, "P|audio|..." might be
enough (with 'S' for streams, 'F' for format).

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110925/1b5e9670/attachment.asc>


More information about the ffmpeg-devel mailing list