I am using ffmpeg to add text over a video, the text can be more than one also. The problem i am facing is with the text having white spaces, ffmpeg is showing the invalid argument.
My command is like this:-
ffmpeg -i input -filter_complex drawtext=fontfile=fontpath:fontcolor=0x000000ff:fontsize=121.26316137279886:shadowcolor=0xffffffff:shadowx=0:shadowy=0:bordercolor=0xffffffff:borderw=0:box=1:boxcolor=0x00000000:boxborderw=30:x=284.73258578742804:y=703.5501114572116:enable='between(t,0,9)':text='hello hello' -c:v libx264 -preset ultrafast output
Error i am facing:
ffmpeg: Unable to find a suitable output format for 'hello''
ffmpeg: hello': Invalid argument
If i am entering text without spaces, it is working perfectly fine, but things are not good with text having spaces. I am stuck at this point from last 2 days, If anybody can help me, will be very helpful!
User contributions licensed under CC BY-SA 3.0