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

How to apply chroma key? #68

Open
hasnhasan opened this issue Jul 17, 2023 · 0 comments
Open

How to apply chroma key? #68

hasnhasan opened this issue Jul 17, 2023 · 0 comments

Comments

@hasnhasan
Copy link

How can I set the following code with this library?

ffmpeg -i source.mp4 -filter_complex "[0:v]chromakey=0x276100:1:0.1[out]" -map "[out]" -c:v prores -pix_fmt yuva444p10le transparent.mkv -y

ffmpeg -i transparent.mkv -i mask.mp4 -filter_complex "[0:v][1:v]overlay[out]" -map "[out]" final.mkv -y
ffmpeg -i transparent.mkv -i mask-2.mp4 -filter_complex "[0:v][1:v]overlay[out]" -map "[out]" final-2.mkv -y

In order not to run chroma key continuously, apply chroma key once. I need to apply later.

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