h5ai icon indicating copy to clipboard operation
h5ai copied to clipboard

[Question] Static build of ffmpeg

Open Nihim opened this issue 8 years ago • 3 comments

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

Nihim avatar Aug 29 '15 20:08 Nihim

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

clementperon avatar Sep 19 '15 16:09 clementperon

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.

Nihim avatar Oct 22 '15 14:10 Nihim

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.

glubsy avatar Nov 29 '20 19:11 glubsy