简体   繁体   中英

php ffmpeg 3gp watermark not working

I am completely new to php ffmpeg . I tried to watermark a 3gp video in my shared ffmpeg installed server. But it doesn't output anything other than LOADED as stated in the code. The ouput is also not creating. Can anyone please solve the problem?

<?php
if(extension_loaded('ffmpeg')){
echo 'LOADED';
$c = 'ffmpeg –i video.3gp -vf "movie=watermark.png [watermark]; [in][watermark] overlay=10:main_h-overlay_h-10 [out]" outputvideo.3gp';
exec($c);
}
?>

When i used phpinfo() what i get about ffmpeg is

ffmpeg
ffmpeg-php version 0.6.0-svn
ffmpeg-php built on May 10 2013 11:50:44
ffmpeg-php gd support enabled
ffmpeg libavcodec version Lavc52.122.0
ffmpeg libavformat version Lavf52.110.0
ffmpeg swscaler version SwS0.14.1
ffmpeg.allow_persistent 0 0
ffmpeg.show_warnings 0 0

尝试这个

ffmpeg -i amitabh-i\ can\ talk\ english.flv  -s qcif amitabh.3gp

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM