[FFmpeg-devel] [PATCH 2/2] ffprobe: add basic JSON print format.

Alexander Strasser eclipse7 at gmx.net
Sat Aug 27 18:39:13 CEST 2011


Hello,

  I like your idea of adding a JSON output writer to ffprobe.

Clément Bœsch wrote:
> ---
>  ffprobe.c |   79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 79 insertions(+), 0 deletions(-)
> 
> diff --git a/ffprobe.c b/ffprobe.c
[...]

  It would be better to output the strings with the proper escapes
if necessary. For more information, you could have a look at json.org
or at the RFC 4627. (I think you knew that already, just repeating it
here for convenience.) 

  Alexander


More information about the ffmpeg-devel mailing list