当我尝试使用PHPVideoToolkit将视频转换为flv时,我得到以下错误(getErrors()方法的输出):
Array
(
[0] => PHPVideoToolkit Error: Execute error. Output for file "" was not found. Please check server write permissions and/or available codecs compiled with FFmpeg. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo().
[1] => PHPVideoToolkit Error: Input file "/home/nik/video1.mp4" does not exist
)
PHPVideoToolkit::getFFmpegInfo() 包含flv格式.
我从命令行测试了ffmpeg并且它可以工作.我将输入和输出目录和文件的权限设置为777但仍然得到相同的错误.
怎么了?
| 归档时间: |
|
| 查看次数: |
786 次 |
| 最近记录: |