-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create video thumbnails not working #2798
Comments
I ran into this issue as well but was able to get things working after a bit of digging. For context, I am running manual seafile install on a Debian Bookworm VM rather than the containerized version The fix for me was the following: First I installed the ffmpeg package from the stable bookworm repo as recommended by a quick google search. Initially this did nothing, but after a reboot, the After that issue was resolved, I started seeing the following in the logs:
I was able to resolve this by installing the latest version of ffmpeg (7.1) from Debian's testing repo instead of the package from bookworm's stable repo which is still version 5.1.6. I did also run into an issue with two videos (before installing the latest version of ffmpeg) which were throwing the following exception:
This was fixed by modifing the subprocess call on line 197 of
This didn't resolve the issue with any of the other videos hence why I ultimately upgraded to the newer ffmpg version. Unsure if this was really necessary or if the newer version of ffmpeg would have resolved the issue with those two videos as well, but including it here in case it helps someone else. |
Hello. I have issue with video thumbnails. When I download video on my seafile server, only photo thumbnails works.
In seahub logs I see error:
[ERROR] seahub.thumbnail.utils:199 create_video_thumbnails [Errno 2] No such file or directory: 'ffmpeg'
2024-07-16 07:17:24,214 [ERROR] django.request:241 log_response Internal Server Error: /thumbnail/4ab2d98a-75de-4640-b5c1-82ade6dc45b0/create/
But I have installed ffmpeg and py module ffmpeg-python.
Also if I run ffmpeg in terminal I see output, also like seafile user.
Why seafile can't see ffmpeg? Please help
The text was updated successfully, but these errors were encountered: