[Solved] FFMPEG : Adding font to Video gives error


SOLVED

I used text file for inserting space between characters in ffmpeg command. As the direct space was not working as i said in question.

So build a text file text.txt. The contents will be the text you want on your video.

Then build the command like this :

"-i "+path+"out.mp4 -vf drawtext=fontfile="+path+"f1.ttf:textfile="+path+"text.ttf -y -c:v libx264 -c:a copy -movflags +faststart "+path+"output.mp4"

It will get run successfully.

1

solved FFMPEG : Adding font to Video gives error