PHPVideoToolkit Runtime Error

When I try to convert a video to flv using PHPVideoToolkit I get the following errors (method output 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() contains flv format.

I tested ffmpeg from the command line and it works. I set the permissions for the input and output directories and files to 777, but still get the same errors.

What's wrong?

+5
source share
1 answer

Well, one part of this suggests that the file you are trying to enter does not exist. Secondly, the output file seems to be an empty string.

0
source

All Articles