如何在FFMPEG和PHP代码的帮助下连接两个mp4视频? [英] How to concatenate two mp4 videos with the help of FFMPEG and PHP code?

查看:141
本文介绍了如何在FFMPEG和PHP代码的帮助下连接两个mp4视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮助我使用FFMPEG的php代码连接两个mp4视频,并将连接的文件作为mp4存储在服务器的任何文件夹中?

Could anybody help me with the php code for FFMPEG to concatenate two mp4 videos and store the concatenated files as an mp4 at any folder in the server?

推荐答案

对于FFMPEG部分,请参阅此处:使用两个mp4文件连接ffmpeg

For the FFMPEG part see here: Concatenate two mp4 files using ffmpeg

对于PHP部分,可以使用以下命令调用任何命令: http://php.net/function.exec

For the PHP part, you can invoke any command using: http://php.net/function.exec

这篇关于如何在FFMPEG和PHP代码的帮助下连接两个mp4视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆