occivink / mpv-scripts

Various scripts for mpv
The Unlicense
420 stars 38 forks source link

Can preserve_filters also preserve image adjustments? #4

Open joeynotjoe opened 7 years ago

joeynotjoe commented 7 years ago

When $preserve_filters is set to true, is it possible to also preserve other filters such as the brightness/contrast?

occivink commented 7 years ago

Theoretically we could use libav's eq filter in the ffmpeg command to bake that in. But from a quick glance, mpv's conception of brightness, contrast... and such is wildly different from this filter's, so the mapping between the two would be non-trivial (if at all possible). I'll try to look at the implementation of both to see how they differ, but right now it's just a big maybe.