Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
通过 ffmpeg 转换的 .mp4 文件在我的本地机器上运行良好。我使用的命令是
exec('ffmpeg -i inputfile.flv -vcodec libx264 outputfile.mp4');
但它在服务器中不起作用。转换后的文件大小显示 0 位。我认为 centos 不支持编解码器 libx256。