Closed gilfu closed 2 years ago
Confirmed. We must've missed this case while refactoring the code base. Indeed, ffmpeg is supposed to be optional.
Without doubt this is my fault. The problem is in
The try
-catch
-block inside the else
-branch for non-officially supported format should be outside of the whole if
-then
-else
-construct.
@nagmat84 Well, for regular photos we've always considered this part non-optional, although I suppose we could change it. Anyway, check out my remarks in #1439...
Thanks for the fix and your quick response time.
Detailed description of the problem
When I try to upload a video to an album, it fails because FFmpeg is not available.
I'm on a shared host, without FFmpeg available. From my understanding of FAQ, video upload is possible without FFmpeg but there will be no thumbnails.
I also tried to upload https://github.com/LycheeOrg/Lychee/blob/master/tests/Samples/gaming.mp4, same results
Steps to reproduce the issue
Steps to reproduce the behavior:
Screenshots
Output of the diagnostics [REQUIRED]
Browser and system
Firefox 103 on Windows 10