[FFmpeg-trac] #10532(avfilter:new): Color changes at w => 1280, h >= 578 with libplacebo filter on rgb source
FFmpeg
trac at avcodec.org
Tue Aug 22 16:39:12 EEST 2023
#10532: Color changes at w => 1280, h >= 578 with libplacebo filter on rgb source
------------------------------------+------------------------------------
Reporter: nicol | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avfilter
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by nicol):
Adding `-color_primaries bt709 -color_trc bt709 -colorspace bt709 -bsf:v
h264_metadata=colour_primaries=1:transfer_characteristics=1:matrix_coefficients=1
-color_range tv` chrome, Windows edge display color looks same, but only
firefox looks different.
% ffmpeg -hwaccel_output_format vulkan -init_hw_device vulkan=vk
-filter_hw_device vk -f lavfi -i colorchart=d=2 -vf
hwupload,libplacebo=inputs=1:w=1280:h=576:upscaler=lanczos:format=yuv420p:range=tv,hwdownload,format=yuv420p
-crf 18 -pix_fmt yuv420p -color_primaries bt709 -color_trc bt709
-colorspace bt709 -bsf:v
h264_metadata=colour_primaries=1:transfer_characteristics=1:matrix_coefficients=1
-color_range tv colorchart_libplacebo_w1280_opt2.mp4 -y
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10532#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list