[FFmpeg-trac] #9266(ffprobe:new): ffprobe produces wrong output for compact format

FFmpeg trac at avcodec.org
Thu May 27 14:35:12 EEST 2021


#9266: ffprobe produces wrong output for compact format
---------------------------------+--------------------------------------
             Reporter:  maksut   |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  ffprobe  |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 ffprobe produces wrong output for compact format when:
 1. stream has side data and
 2. "-show_entries stream=codec_type" filter is applied.

 See "codec_type=videoside_data" below:
 {{{
 ❯ ffprobe -v quiet -show_entries stream=codec_type -print_format compact
 rotate_test.mp4

 stream|codec_type=videoside_data|

 stream|codec_type=audio
 }}}

 Valid json output for comparison:
 {{{
 ❯ ffprobe -v quiet -show_entries stream=codec_type -print_format json
 rotate_test.mp4

 {
     "programs": [

     ],
     "streams": [
         {
             "codec_type": "video",
             "side_data_list": [
                 {

                 }
             ]
         },
         {
             "codec_type": "audio"
         }
     ]
 }
 }}}

 Version 4.3.1 and git master has the problem.
 But version 4.0 '''does not''' have it.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9266>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list