Open super2019 opened 5 years ago
i'm just a user, but here's my understanding: in the case of video thumbnails, spacefm uses ffmpegthumbnailer(which uses ffmpeg to generate a thumbnail from a video frame) so my guess is: ffmpegthumbnailer(or ffmpeg itself) requires filetype suffixes to detect filetype..(i'd have to check with some other filemanager that uses ffmpegthumbnailer(thunar?) to confirm) i notice that elsewhere, eg. with image files, suffixes are not required for thumbnails to appear..
EDIT: okay, just checked directly with:
ffmpegthumbnailer -i video-without-suffix -o thumb.png
and this worked, so ffmpeg etc don't need suffixes..
and a cursory look at the code suggests that spacefm explicitly uses suffix for video detection.. src/vfs/vfs-thumbnail-loader.c line 334
possibly a limitation in spacefms native vfs ..
Thanks for confirming that.
Do you happen to know of a utility that would rename files and just put .mp4 on any files that do not have a file extension ?
Thanks again.
Hello,
Many thanks for creating spaceFM. I have started using it with MX18 and it works very well.
I particularly like the ability to view huge video thumbnails. However, it seems that it only generates thumbnails that have a filetype suffix like .mp4 or whatever. Is it possible for spaceFM to recognise that the file is a video and then generate a thumbnail without a filetype suffix ?
I have many files without any suffix and operating systems still recognise the correct filetype.
Thanks again - it looks great.