我需要为 mp4 视频加水印,目前我正在使用此代码,但它不起作用,请解决此问题
<? exec('ffmpeg -i movie.mp4 -i logo.png -filter_complex overlay output.mp4');?>
You need to put the filter code within double quotes. If you could share more about the error you're facing, I'll be able to help you better.
<? exec('ffmpeg -i movie.mp4 -i logo.png -filter_complex "overlay" output.mp4');?>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.