buggedcom / phpvideotoolkit-v2

PHP Video Toolkit version 2 helps take the voodoo out of ffmpeg and provides a convenient object oriented wrapper around the ffmpeg programme.
Other
262 stars 86 forks source link

FFmpeg appears to be unavailable on your system. Problem #97

Closed huseyinalp-zz closed 8 years ago

huseyinalp-zz commented 8 years ago

Hi;

When test example of any code i got that error.

I'm using mampro and php 5.5.3. Ffmpeg,ffprobe,yamdi and qtfaststart are installed.

When check "which ffmpeg", output is "/usr/local/bin/ffmpeg".

examples/includes/config.php

'ffmpeg' => '/usr/local/bin/ffmpeg', 'ffprobe' => '/usr/local/bin/ffprobe', 'yamdi' => '/usr/local/bin/yamdi', 'qtfaststart' => '/usr/local/bin/qtfaststart', 'gif_transcoder' => 'php', 'gif_transcoder_convert_use_dither' => false, 'gif_transcoder_convert_use_coalesce' => false, 'gif_transcoder_convert_use_map' => false,

it is my error. Debugging /examples/extract-frames.php on line 52 @ 15/08/2016 22:38:07: FFmpeg appears to be unavailable on your system.

Are there any idea? Ffmpeg works fine when i use shell_exec command and other ffmpeg php librarires.

huseyinalp-zz commented 8 years ago

Sorry it is so basic mistake. make false config's set_as_default parametre.