I think question is simple enough. How to add text with ffmpeg vhook is deprecated and i couldn't find any easier solution.
Using ubuntu and installed latest ffmpeg version.
I think question is simple enough. How to add text with ffmpeg vhook is deprecated and i couldn't find any easier solution.
Using ubuntu and installed latest ffmpeg version.
FFmpeg from Ubuntu 10.04 does not appear to support filters, so you will have to get a more recent version. You can follow a step-by-step guide to compile ffmpeg on Ubuntu, or you can simply download a Linux build of ffmpeg.
Note that if you follow the compile guide you will need to additionally install
libfreetype6-dev
as a dependency and then add--enable-libfreetype
to your ffmpeg./configure
.This example command will add the words "Stack Overflow" to the video with a white background and centered in the middle of the video:
See the
drawtext
documentation for more details on additional parameters.