Open ThesiiNCey opened 1 year ago
This feature would be really great yes
@ThesiiNCey
Do you know a library which does the video processing on the server side? maybe even without any C-Bindings?
Only ffmpeg or Imagemagic as bin only File
Only ffmpeg or Imagemagic as bin only File
Hm. That is what i feared. This would introduce C dependencies into our codebase, which is error prone and hard to maintain.
Only ffmpeg or Imagemagic as bin only File
Hm. That is what i feared. This would introduce C dependencies into our codebase, which is error prone and hard to maintain.
someone tells me it can be possible with -> https://github.com/notedit/media-server-go
Media Server Go has a c dependency too 🙈
https://github.com/h2non/imaginary
That would actually be the last method I could think of, I even asked Chatgpt for it
That looks very interesting.
so could that possibly be a possibility?
Is imaginary's dependency on libvips (plus optionally libheif (and libjxl in the next release)) better than any of the other options? On top of that, the only new formats would be PDF, SVG, HEIF, AVIF, and JXL, none of which are video formats (although I would love for them to be added!)
I think if generating thumbnails for a variety of video / (more) image formats is to be added, some sort of ffmpeg wrapper is pretty much unavoidable.
It looks like imaginary (built using bimg) / libvips can support more than just the formats I mentioned, but they use ImageMagick. Since ImageMagick itself doesn't support videos, when generating thumbnails from a video, it ends up just using ffmpeg anyways.
imaginary also only seems useful if the pre-built microservice itself is desired, otherwise bimg can be used directly. And while libvips' design / features do seem nice, the lack of direct video support means another dependency would be needed for video anyways, which was the whole point of this issue.
Having said all that, I would also greatly appreciate video / (more) image thumbnails. Having no thumbnails makes storing videos in OCIS somewhat unpleasant.
I haven't looked at it for a long time, but is it now possible to get a video preview just like with GIF and webm and webp files?
I haven't looked at it for a long time, but is it now possible to get a video preview just like with GIF and webm and webp files?
No. Sadly pretty much nothing changed in that regard :-(
Is your feature request related to a problem? Please describe.
When I upload videos in the following format ( MP4 | MOV | AVI | WMV | 3GP ) I get no preview so a Thumbnail
Describe the solution you'd like
A possibility that one can use ffmpeg for this would be a great solution