[FFmpeg-trac] #2502(FFprobe:new): ffprobe Produces Invalid JSON

FFmpeg trac at avcodec.org
Thu Apr 25 16:34:56 CEST 2013

#2502: ffprobe Produces Invalid JSON
             Reporter:  dnicolson    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  FFprobe
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by dnicolson):

 Making a reduced case by reducing the size of the video could help, but
 surely it's still a bug if ffprobe is outputting invalid JSON no matter
 what kind of file is passed to it?

 In any case, I just researched potential invalid JSON cases and can
 confirm that this can be fixed by outputting JSON in valid UTF-8. The
 attached ffprobe output was encoded in ISO-8859-1.

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2502#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list