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

请问这个可以用到ffmepg吗 #2

Open
oyuntuayC opened this issue Feb 20, 2022 · 1 comment
Open

请问这个可以用到ffmepg吗 #2

oyuntuayC opened this issue Feb 20, 2022 · 1 comment

Comments

@oyuntuayC
Copy link

我尝试在常数部分添加:
invert=white-mask

out替换为:
out = numpy.maximum(invert+src-white,zero)* white/invert

效果也不错。

请问这个怎么应用到视频里呢

@yuchenxi2000
Copy link
Owner

可以试试ffmpeg的filter

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

2 participants