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

Stefano Sabatini stefasab at gmail.com
Sun Sep 25 15:48:46 CEST 2011

On date Sunday 2011-09-25 15:39:29 +0200, Nicolas George encoded:
> 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|..."?

I can remove the leading " ", but then "|" is really meant as a
separator, and the section "PACKET:" should be used for filtering the
relevant sections (which should be easy enough with awk).

Or maybe we may even add a new writer (compactnknh) -> no key + no
FFmpeg = Fierce and Faithful Monstrous Ponderous ExchanGer

More information about the ffmpeg-devel mailing list