Open hasnhasan opened 1 year ago
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
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.
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.