Skip to content

Config of Ffmpeg and ffprobe issue in shared folder #106

Description

@testchik

I used below code for configuration. i get error messages like that:::::::::::
$config = new Config(array(
'temp_directory' => sys_get_temp_dir(),
'ffmpeg' => '/home/igeniusdev/public_html/Tools/ffmpeg',
'ffprobe' => '/home/igeniusdev/public_html/Tools/ffprobe',
'yamdi' =>null,
'qtfaststart' => null,
'cache_driver' => 'Null',
), true);

Error message:

Fatal error: Uncaught exception 'PHPVideoToolkit\FfmpegProcessException' with message 'An error was encountered with FFmpeg when attempting to read the formats that FFmpeg supports. FFmpeg reported: sh: /home/igeniusdev/public_html/Tools/ffmpeg: Permission denied' in /home/igeniusdev/public_html/Unity_Hex/phpvideotoolkit-v2-master/vendor/buggedcom/phpvideotoolkit/src/PHPVideoToolkit/Parser.php:99 Stack trace: #0 /home/igeniusdev/public_html/Unity_Hex/phpvideotoolkit-v2-master/vendor/buggedcom/phpvideotoolkit/src/PHPVideoToolkit/FfmpegParser.php(51): PHPVideoToolkit\Parser->getRawFormatData() #1 /home/igeniusdev/public_html/Unity_Hex/phpvideotoolkit-v2-master/vendor/buggedcom/phpvideotoolkit/src/PHPVideoToolkit/FfmpegParser.php(78): PHPVideoToolkit\FfmpegParser->_getParser() #2 /home/igeniusdev/public_html/Unity_Hex/phpvideotoolkit-v2-master/index.php(14): PHPVideoToolkit\FfmpegParser->__call('isAvailable', Array) #3 /home/igeniusdev/public_html/Unity_Hex/phpvideotoolkit-v2-master/index.php(14): PHPVideoToolkit\FfmpegParse in /home/igeniusdev/public_html/Unity_Hex/phpvideotoolkit-v2-master/vendor/buggedcom/phpvideotoolkit/src/PHPVideoToolkit/Parser.php on line 99

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions