Ffmpeg first creates the watermark and then creates the text

0

My code:

ffmpeg -y -i tt.mp4 -i qmy.png -filter_complex "[1:v]  
overlay=100:100:enable='if(gt(t,5),lt(t,10))'[img];[img][0:v]
drawtext=text='test':fontfile=PingFang-SC-
Regular.ttf:fontcolor=#FFFFFF:fontsize=36:x=120:y=120:enable='if(gt(t,5),lt
(t,10))'[out]" -map "[out]" out.mp4

enter image description here

Skey JIA

Posted 2018-07-06T03:55:39.217

Reputation: 13

[AVFilterGraph @ 0x7fd080602c00] Too many inputs specified for the "drawtext" filter. Error initializing complex filters. Invalid argument – Skey JIA – 2018-07-06T03:56:15.890

The command is malformed. What do you need to do? – Gyan – 2018-07-06T05:43:32.957

No answers