[FFmpeg-trac] #10716(swscale:open): swscale produces bright green when going from grayf32 to gbrpf32 (was: swcale produces bright green when going from grayf32 to gbrpf32)

FFmpeg trac at avcodec.org
Wed Sep 25 18:16:37 EEST 2024


#10716: swscale produces bright green when going from grayf32 to gbrpf32
------------------------------------+-----------------------------------
             Reporter:  Leo Izen    |                    Owner:  (none)
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  swscale
              Version:  git-master  |               Resolution:
             Keywords:  swscale     |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by Balling):

 * status:  new => open
 * summary:  swcale produces bright green when going from grayf32 to gbrpf32
     => swscale produces bright green when going from grayf32 to gbrpf32

Comment:

 ffplay -f rawvideo -video_size 70x46 -pixel_format gbrpf32le  -i rose3.rgb

 same hapopens

 ffmpeg -i C:/Users/ZAQU/Downloads/rose.pfm -vf scale kafca1.rgb

 prints even stranger bug:

 {{{

 [rawvideo @ 0000018d2f3d1d40] Packet corrupt (stream = 0, dts = 0).
 [rawvideo @ 0000018d2f3d1d40] Estimating duration from bitrate, this may
 be inaccurate
 Input #0, rawvideo, from 'kafca1.rgb':
   Duration: N/A, start: 0.000000, bitrate: 7728 kb/s
   Stream #0:0: Video: rawvideo, gbrpf32le, 70x46, 7728 kb/s, 25 tbr, 25
 tbn
 [rawvideo @ 0000018d2f59fbc0] Invalid buffer size, packet size 12880 <
 expected frame_size 38640


 }}}
 zscale does not help
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10716#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list