简体   繁体   中英

Error in converting a MOV video into MP4 using ffmpeg

I want to convert a mov video into mp4 using ffmpef library of php. I am using given code:

$cmd='ffmpeg -i sample.mov -sameq output.mp4';
echo exec($cmd);

It is not working at all. Even I didn't get any error. Could anyone tell me the proper steps to do this conversion. I have tried a lot of code examples but not working for me.

使用-qscale 0而不是-sameq

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