Opened 5 months ago

#10734 new enhancement

Add glsl-shader-opts to vf_libplacebo

Reported by: Aaron Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords: libplacebo shader
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Liblacebo has a key=value option "glsl-shader-opts" to use for tunable parameters in custom shaders:
https://mpv.io/manual/master/#options-glsl-shader-opts
Can it be added to vf_libplacebo?
vf_libplacebo has "extra_opts":
https://ffmpeg.org/ffmpeg-filters.html#toc-Output-mode
But it's only for key=value pairs
How to reproduce:

% ffmpeg -i input -vf "libplacebo=extra_opts='glsl-shader-opts=contrast=1'" output

Change History (0)

Note: See TracTickets for help on using tickets.