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

FFmpeg trac at avcodec.org
Thu Apr 25 16:40:55 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 ubitux):

 It's possible the input file has some metadata in ISO-8859-1 which are not
 converted to UTF-8 by FFmpeg (metadata are assumed to be UTF-8) and thus
 cause an invalid output in ffprobe. Maybe non-valid UTF-8 character could
 be removed/replaced in ffprobe, but that won't solve the real problem
 ("just" avoid invalid json outputs). OTOH, metadata re-encoding could be
 supported in FFmpeg. Anyway, a sample would be welcome.

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


More information about the FFmpeg-trac mailing list