Using this sample: https://btbn.de/files/chromakey_sample.mp4ffmpeg -f lavfi -i color=c=black:s=1280x720 -i chromakey_sample.mp4 -an -c:v libx264 -preset veryfast -crf 18 -shortest -filter_complex "[1:v]chromakey=0x70de77:0.1:0.2:0:1[ckout];[0:v][ckout]overlay[out]" -map "[out]" -y output.mkv The last parameter to the chromakey filter enables opencl acceleration. Hi, Could you please send the patch as attachments? I merge the code, but some compile errors occur. Thanks Best regards
You can pull from my github, the patches are in the chromakey branch: https://github.com/BtbN/FFmpeg/tree/chromakey If you want just the chromakey patch itself: https://github.com/BtbN/FFmpeg/commit/29294c283a656cf809461cbae21d612b5a0f2159.patch
signature.asc
Description: OpenPGP digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel