I use ffmpeg\'s moive filter to add wartermark on my video. The str is "const char *filter_descr = "movie=test.png:seek_point=3.2, scale=180:-1, setpts=PTS-STARTPT