#8680: FFprobe produces invalid JSON
---------------------------------+--------------------------------------
             Reporter:  ePirat   |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  ffprobe  |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 Summary of the bug:
 How to reproduce:
 {{{
 % ffprobe -print_format json -count_frames -select_streams v:0
 -show_entries frame=pkt_pts_time:tags -f lavfi
 "movie='file.mp4',select='gt(scene,0.0)'"

 ffprobe version N-97836-g050b72ab5e Copyright (c) 2007-2020 the FFmpeg
 developers
   built with Apple clang version 11.0.3 (clang-1103.0.32.29)
   configuration:
   libavutil      56. 46.100 / 56. 46.100
   libavcodec     58. 86.100 / 58. 86.100
   libavformat    58. 43.100 / 58. 43.100
   libavdevice    58.  9.103 / 58.  9.103
   libavfilter     7. 82.100 /  7. 82.100
   libswscale      5.  6.101 /  5.  6.101
   libswresample   3.  6.100 /  3.  6.100
 {
 Input #0, lavfi, from 'movie='file.mp4',select='gt(scene,0.0)'':
   Duration: N/A, start: 0.016683, bitrate: N/A
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080
 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 19001 tbn, 19001 tbc
     "packets_and_frames": [
         {
             "type": "packet"            "tags": {
                 "lavfi.scene_score": "0.065193"
             },
             "side_data_list": [
                 {

                 }
             ]
         },
 [...  Truncated for the bugreport ...]
 }}}

 The `"type": "packet"            "tags": {` is not valid JSON.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8680>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to