Open sunosv opened 3 years ago
2020-12-28 17:23:02 -- error -- App\ModelFunctions\PhotoFunctions::add -- 411 -- Unable to load FFProbe
That is a better type of error because it means that php-exif actually found the ffprobe binary. :+1:
@tmp-hallenser can you have a look ? :confused:
@tmp-hallenser can you have a look ? π
From the log file, I've got no clue what's going on there. It feels like ffmpeg is found at php-exif, but not for lychee (but we're using both times the same command ...)
As command -v
is not available on windows, we could think of switching to a lib to search for the path, e.g. https://packagist.org/packages/cedx/which.hx
Version 1 is compatible with PHP7. A switch should be straight forward.
As
command -v
is not available on windows, we could think of switching to a lib to search for the path, e.g. packagist.org/packages/cedx/which.hx
This one is on Linux. #834 is on Windows.
As
command -v
is not available on windows, we could think of switching to a lib to search for the path, e.g. packagist.org/packages/cedx/which.hxThis one is on Linux. #834 is on Windows. True, my bad. Still weird.
@sunosv Can you check that you have also ffprobe
installed? (and not only ffmpeg
) Do other videos work?
2020-12-28 17:23:02 -- error -- App\ModelFunctions\PhotoFunctions::add -- 411 -- Unable to load FFProbe
That is a better type of error because it means that php-exif actually found the ffprobe binary. π
@tmp-hallenser can you have a look ? π
From the log file, I've got no clue what's going on there. It feels like ffmpeg is found at php-exif, but not for lychee (but we're using both times the same command ...)
As
command -v
is not available on windows, we could think of switching to a lib to search for the path, e.g. https://packagist.org/packages/cedx/which.hx Version 1 is compatible with PHP7. A switch should be straight forward.
It's good to hear that have a solution to the problem.
As
command -v
is not available on windows, we could think of switching to a lib to search for the path, e.g. packagist.org/packages/cedx/which.hxThis one is on Linux. #834 is on Windows. True, my bad. Still weird.
@sunosv Can you check that you have also
ffprobe
installed? (and not onlyffmpeg
) Do other videos work?
I think ffprobe has been installed.
[root@localhost /]# find -name ffprobe find: β./proc/994822β: find: β./proc/994837β: ./usr/bin/ffprobe
I'm having this same problem when uploading videos on raspberry pi using a yunohost install. Thumbnails are not generated and the error log says error -- App\Actions\Photo\Strategies\StrategyPhoto::generate_thumbs -- 112 -- Unable to load FFProbe
https://github.com/YunoHost-Apps/lychee_ynh/issues/28#issue-927568038
Detailed description of the problem [REQUIRED]
A clear and concise description of what the bug is. Videos don't have thumbnails
Steps to reproduce the issue
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Output of the diagnostics [REQUIRED]
(Settings => Diagnostics or https://example.com/Diagnostics or
php artisan lychee:diagnostics
)Browser and system