I am trying to add plain text on top of a video using FFmpeg using the drawtext parameter. Every time I am going to do this, an error is returned:
Failed to load font from file 'arial.ttf': cannot open resource
To indicate the location of the font, I used the following methods:
ffmpeg -i C:\Test\rec\vid_1321909320.avi -vf drawtext=fontfile=arial.ttf:text=test -sameq vid_1321909320.flv ffmpeg -i C:\Test\rec\vid_1321909320.avi -vf drawtext=fontfile=C:\Windows\Fonts\arial.ttf:text=test -sameq vid_1321909320.flv
All failed. Does anyone have experience adding text with ffmpeg?
FFMPEG version: N-34549-g13b7781 build on Nov 6 2011
source share