h5ai
h5ai copied to clipboard
[Question] Static build of ffmpeg
Hello,
I looked a bit on the config but is it possible, if you are using a static build of ffmpeg, to point h5ai to it?
~~Also anyone feeling like giving me a few pointers about php5-gd & lighttpd. I installed the pkg, have fastcgi set on lighttpd config but it still appears as No on h5ai setup.~~ (had to also modify php.ini)
Sorry for using issues as help but couldn't find a better place.
Cheers
Hi,
You could create symlink in you /usr/local/bin folder ? or update the php script here : https://github.com/lrsjng/h5ai/blob/master/src/_h5ai/private/php/ext/class-thumb.php#L5
I totally forgot about this, well I copied ffmpeg & ffprobe (static builds) to /usr/local/bin which exists ofc in the $PATH and both are accessible from the shell.
the config still shows it as a red NO though.
modifying the class-thumb.php to contain the full path to ffmpeg, be it /usr/local/bin/ffmpeg or /home/Nihim/prog/ffmpeg didn't help either.
modifying the class-thumb.php to contain the full path to ffmpeg, be it /usr/local/bin/ffmpeg or /home/Nihim/prog/ffmpeg didn't help either.
It should work. This is most likely an access denied error since www-data user doesn't have read access to that /home directory.
Also duplicate of: #724.