I've try to add simple text on top of video with FFmpeg using drawtext parameter. Every time i'm going to do this, error is returned:
Could not load fontface 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 have failed. Does anyone have experience with adding text using ffmpeg?
FFMPEG version: N-34549-g13b7781 build on Nov 6 2011