Ashyni / mpv-scripts

dynamic-crop.lua script for mpv player/lib.
MIT License
81 stars 4 forks source link

Smooth transitions #15

Closed Keith94 closed 1 year ago

Keith94 commented 1 year ago

I'm not sure if possible but would be nice if the transitions were less abrupt when cropping the black bars. Especially for movies like The Dark Knight that have a dynamic aspect ratio, having a smooth cropping operation would be easier on the eyes i.e. when film goes 16:9 => 21:9 the video enlarges gradually

Ashyni commented 1 year ago

Hello, I didn't include you in https://github.com/Ashyni/mpv-scripts/commit/7828cc71dad30aa374d0da7d80b1aea79b923080 but i think it's the best i can do for now. read_ahead_mode 1 or 2 provide a better timing, so the change feel less abrupt.

Keith94 commented 1 year ago

Thanks! Can't test it now, but I will trust that it's fixed/improved.