[FFmpeg-devel] [PATCH] ffprobe integration

Nicolas George nicolas.george
Tue Feb 9 12:44:59 CET 2010


Le primidi 21 pluvi?se, an CCXVIII, M?ns Rullg?rd a ?crit?:
> I don't like that format.  It's hard to parse.  If you don't have
> nested sections, there is no need for a closing marker at all.

Having a closing marker makes it easier to parse, since it does not require
a special case for the end of file.

On the other hand, I do not like the current format either, because [ and ]
are active characters for the shell and for regular expressions. I would
find something like that much more practical:

PACKET
  codec_type=video
  stream_index=0
  ...
END_PACKET

An empty line instead of END_PACKET, if it's guaranteed to be there and only
there, is fine too.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100209/b018ebc7/attachment.pgp>



More information about the ffmpeg-devel mailing list