[FFmpeg-trac] #9751(swscale:new): Incorrect YUV->RGB24 conversion results on IBM Power9
FFmpeg
trac at avcodec.org
Wed Apr 27 17:30:31 EEST 2022
#9751: Incorrect YUV->RGB24 conversion results on IBM Power9
-------------------------------------+-----------------------------------
Reporter: gciaparrone | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: swscale
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by Balling):
Try
ffmpeg -s:v 64x64 -pix_fmt yuv420p -i black.yuv -frames:v 1 -vf
scale=in_range=tv:out_range=pc:flags=accurate_rnd,format=rgb24
reblack1.png
Also try
ffmpeg -s:v 64x64 -pix_fmt yuv420p -i black.yuv -frames:v 1 -vf zscale
reblack1.png
For last command zimg should be compiled in.
Limited range RGB was prohibited in ffmpeg back in 2021, PNG does not
support it anyway.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9751#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list