[FFmpeg-trac] #10542(undetermined:new): format=gray adds blanks into grayscale

FFmpeg trac at avcodec.org
Tue Aug 29 21:57:57 EEST 2023


#10542: format=gray adds blanks into grayscale
-------------------------------------+-------------------------------------
             Reporter:  jason43243   |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 There are gaps in the histogram and I assume the image will be slightly
 brighter.

 How to reproduce:
 {{{

 ffmpeg -i input.mp4 -filter_complex "split [s1][s2]; [s1]
 format=gray,histogram [so1]; [s2] extractplanes=y,histogram [so2];
 [so1][so2] vstack" histogram.mp4
 }}}

 The format=gray version is common in google searches and gives wrong
 results.

 extractplanes=y seems better anyway, but format=gray should work the same.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10542>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list