ffmpeg rotate overlay image background transparent on video

'-y -i /storage/emulated/0/Download/video.mp4 -i /storage/emulated/0/Download/bells_sticker.png -filter_complex "[1:v]rotate='90*PI/180:c=black@0'[rotate];[rotate]scale=238:238[b];[0][b] overlay=100:50:enable='between(t,0,20)'" -codec:a copy /storage/emulated/0/Download/StickerWithVideo.mp4'

try also c=0x00000000 c=none

Outout

Original Sticker Image



Read more here: https://stackoverflow.com/questions/67378915/ffmpeg-rotate-overlay-image-background-transparent-on-video

Content Attribution

This content was originally published by Abhi Panchal at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: