chroma key my command for filter white background

2019-08-18 19:41发布

ffmpeg    -i  bakground.avi   -i overlay.avi    -filter_complex       "[1:v]chromakey=0xFFFFFF:0.02:0[keyed];       [0:v][keyed]overlay[out]"    -map "[out]"    output.avi

this command filter white and black

I need filter only white color

please help me

标签: ffmpeg
1条回答
家丑人穷心不美
2楼-- · 2019-08-18 20:44

this command works better

ffmpeg -y  -i background-720p.mp4 -i foreground-720p.mp4  -filter_complex '[1:v]colorkey=0xFFFFFF\:0.05\:0[ckout];[0:v][ckout]overlay[out]' -map '[out]' -t 10 greenScreen.mp4

thanks for help

from this page

http://dragonquest64.blogspot.com/2017/04/ffmpeg-green-screen-chroma-key-for.html

查看更多
登录 后发表回答