开发者

FFmpeg libavfilter watermark?

Since the vhook subsystem has been removed from the latest version of FFMPEG, how can I add a watermark to a video?

the following software is installed on my server:

FFmpeg version SVN-r0.5.1-4:开发者_Go百科0.5.1-1ubuntu1 with libavfilter 0.4.0

for example: --> but this code does not work.

exec('ffmpeg -i 01.mpg  -vfilters "movie=0:png:watermark.png [logo]; [in][logo] overlay=10:main_h-overlay_h-10 [out]" -f  flv 03.flv');

Thanks,


I don't think -vfilters is recognized: use -vf instead. movie doesn't take a list of undefined colon delimited arguments (http://ffmpeg.org/ffmpeg.html#toc-movie)

Try :

ffmpeg -i 01.mpg -vf "movie=watermark.png [logo]; [in][logo] overlay=10:main_h-overlay_h-10 [out]" -f flv 03.flv
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜