Apply current video filters
LampPrinter opened this issue · 3 comments
LampPrinter commented
This https://github.com/ekisu/mpv-webm has the option to apply current video filters.
I am mainly looking to apply brightness, contrast, saturation etc settings to the output.
tatsumoto-ren commented
apply brightness, contrast, saturation
I think if you pass them as parameters to the mpv
encoder command, they will be applied.
LampPrinter commented
Adding these line did the trick.
font_size = 24,
filters = 'brightness=0.0:contrast=1.0:saturation=1.0:gamma=1.0',
'--vf-add=format=yuv420p',
table.concat { '--vf-add=lavfi-eq=', config.filters },
tatsumoto-ren commented
Now you can add a config option to let the user apply filters.