cells
cells copied to clipboard
Inline video thumbnails/preview
Would it be possible to add video thumbnails and/or preview capability so that they show up inline, as you scroll through files in thumbnail mode, the same way as photos? I think that would make this a true Nextcloud killer. It's already an incredibly useful project, but I think this would add a ton of value. Maybe it could be configurable so that those who don't want the extra processing that would be required can keep it off?
I've found that sometimes if you have random names in your video files, it's hard to tell what's what just from the video icon and filename alone, and having to select a file to see which one it is in the side preview panel we currently have is a bit tedious.
Hey @wpuckering , thanks for posting. That would be great indeed. Probably quite easy to do if we assume to rely on an external lib (most probably ffmpeg
). Otherwise not sure we can find that in pure go (which would be the best case), do not hesitate to make suggestions if you find interesting libraries!
Heh I keep checking back here hoping to see if anyone has chimed in, but here's some stuff that might be helpful:
Nice list of Go projects, has some libraries with FFmpeg bindings included: https://awesome-go.com
Evaluation (might be outdated) of some Go FFmpeg bindings: https://github.com/livepeer/lpms/issues/24
Looks to be a simple library using FFmpeg to generate thumbnails from video: https://github.com/bakape/thumbnailer
I'm sure using something from there someone would be able to add this feature fairly easily. Even without these libraries I'm sure generating a thumbnail from some frame part way into a video shouldn't be a huge task, and to have that be used as an inline preview for video files rather than the current icon.
I really look forward to this, if I ever get some free time I might try to take a crack at it and make a PR, however I'm sure someone else could do this much faster than me.
See cells-convert-tools (enterprise only)
Sorry to voice here but I believe basic thumbnailing (medias/videos/PDF) should be part of the free codebase.
yes video preview should be a port of free version