[FFmpeg-trac] #9925(undetermined:new): libplacebo
FFmpeg
trac at avcodec.org
Wed Sep 14 21:29:14 EEST 2022
#9925: libplacebo
-------------------------------------+-------------------------------------
Reporter: acedogblast | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: libplacbo | Blocked By:
hdr |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
When tonemaping a HDR video to SDR using libplacebo filter, ffmpeg will
fail the conversion. This is the error that ffmpeg outputs:
[AVHWFramesContext @ 0x5596b2d8b740] There are no supported modifiers for
the given sw_format
[Parsed_hwupload_0 @ 0x5596b2cc75c0] Failed to configure output pad on
Parsed_hwupload_0
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
How to reproduce:
./ffmpeg -i "$INPUT" -map 0:v:0 -init_hw_device vulkan=gpu:0.0 -vf
"hwupload,libplacebo=tonemapping=bt.2446a:colorspace=bt709:color_primaries=bt709:color_trc=bt709:range=limited:format=yuv420p10le,hwdownload"
-c:v libx265 -crf 20 -preset:v slow -pix_fmt yuv420p10le "test.mkv"
ffmpeg version N-108133-gf976ed7fcf # This is git master as of 9/14/2022
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9925>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list