Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced Non-Linear Stretching (NLS) implementation #12856

Open
jan-kleks opened this issue Nov 8, 2023 · 2 comments
Open

Enhanced Non-Linear Stretching (NLS) implementation #12856

jan-kleks opened this issue Nov 8, 2023 · 2 comments

Comments

@jan-kleks
Copy link

Expected behavior of the wanted feature

It is obviously not a perfect solution to stretching, but it is good enough to be of interest to users. Combined with automatic black bars detection, it could let people watch movies often changing aspect ratios in one format.

@NotMithical
Copy link

I wrote a shader a while back with the express purpose of getting as close as possible to MadVR Envy's NLS+, you might want to give it a try: NLS#

There's also an autocrop script for getting rid of hard-coded black bars automatically (autocrop.lua) and another one that tries to do the same thing continuously (dynamic-crop.lua), although it was a little unstable when I tried it.

@jan-kleks
Copy link
Author

@NotMithical Awesome! I wonder when we will be able to use some of the more advanced video retargeting techniques for stretching in real-time...

See for instance:

hooke007 added a commit to hooke007/MPV_lazy that referenced this issue Dec 7, 2023
核心:
同步 --watch-later-options --title-bar
移除 --border (作为无边框的解决方案优选 --title-bar=no)

脚本:
uosc 新增选项 ziggy_pth 用于自定义二进制文件路径

着色器:
移除 MemeBilateral_next
恢复 CfL_Prediction_Lite (仍存在轻度的色彩偏移)
新增 NLS_next 非线性图像拉伸,使 --keepaspect=no 的输出不过度变形(查看 mpv-player/mpv#12856 了解它的使用场景 )
AClon314 pushed a commit to AClon314/mpv-config-linux that referenced this issue Jun 16, 2024
核心:
同步 --watch-later-options --title-bar
移除 --border (作为无边框的解决方案优选 --title-bar=no)

脚本:
uosc 新增选项 ziggy_pth 用于自定义二进制文件路径

着色器:
移除 MemeBilateral_next
恢复 CfL_Prediction_Lite (仍存在轻度的色彩偏移)
新增 NLS_next 非线性图像拉伸,使 --keepaspect=no 的输出不过度变形(查看 mpv-player/mpv#12856 了解它的使用场景 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants