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

Fix for apparent CLAHE failure #2

Open
sirnicholasevan opened this issue Dec 18, 2022 · 0 comments
Open

Fix for apparent CLAHE failure #2

sirnicholasevan opened this issue Dec 18, 2022 · 0 comments

Comments

@sirnicholasevan
Copy link

After a system update (Gentoo Linux), my Vapoursynth script breaks when piped to ffmpeg as the clahe->apply() function is called. I thought it might be a result of a Python update or some API change. It turns out that OpenCV dumps INFO log information to stderr/stdout by default. This also happens when running CLAHE using Python. The fix is dead simple. Add this line to any shell script before running Vapoursynth:

export OPENCV_LOG_LEVEL=OFF

I hope this helps anyone with the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant