I am using the command below to drawtext with rotation. This works but when set fontcolor=black
It becomes transparent color.
I am not understanding the reason.
ffmpeg -i input.mp4 -filter_complex "color=black:100x100[c];[c][0]scale2ref[ct][mv];[ct]setsar=1,drawtext=fontfile='font.ttf':text='Test Text':fontsize=36:line_spacing=3:box=1:boxcolor=red@1:fontcolor=black,split[text][alpha];[text][alpha]alphamerge,rotate=45:ow=rotw(45):oh=roth(45):c=black@0[txta];[mv][txta]overlay=x='min(0,-H*sin(45))+100':y='min(0,W*sin(45))+50':shortest=1" output_video.mp4