For some video files thumbnails are not generated

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
Gofer83
Level 1
Level 1
Posts: 36
Joined: Thu Feb 03, 2011 10:57 am

For some video files thumbnails are not generated

Post by Gofer83 »

* Xplayer version (xplayer 1.6.1)
* Distribution - (Mint18.3)

Issue
Some of the video thumbnails are not being generated on my actual system.
But thumbnails for the very same files are being generated when tested on a fresh Mint18.3 install in a Virtual Machine (Virtualbox).
I would like to know where to start some troubleshooting? :cry:
What can be missing in the system, that only few videos don't have thumbnails?

Steps to reproduce
Open the video folder. Check if all thumbnails are generated.

Expected behaviour
All video thumbnails should be created.

Other information

Properties of the files without thumbs:

Container: ISO MP4/M4A
Res: 1920 x 1080
Codec: H.264 (Main Profile)
Framerate: 25 fps
Bitrate: 9814 kb/s
Size: 52MB

Container: ISO MP4/M4A
Res: 1920 x 1080
Codec: H.264 (High Profile)
Framerate: 24 fps
Bitrate: 2159 kb/s
Size: 48MB

I repeat, the same files have thumbs on fresh install!

System: Host: linuxmint Kernel: 4.15.0-13-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9) Distro: Linux Mint 18.3 Sylvia
Machine: Mobo: ASUSTeK model: Z170-DELUXE v: Rev 1.xx Bios: American Megatrends v: 3504 date: 06/29/2017
CPU: Quad core Intel Core i7-6700K (-HT-MCP-) cache: 8192 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 32064
clock speeds: max: 4300 MHz 1: 4041 MHz 2: 4049 MHz 3: 4043 MHz 4: 3155 MHz 5: 3666 MHz 6: 3743 MHz
7: 3642 MHz 8: 3934 MHz
Graphics: Card: NVIDIA Device 1b80 bus-ID: 01:00.0
Display Server: X.Org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
Resolution: 3840x2160@60.00hz
GLX Renderer: GeForce GTX 1080/PCIe/SSE2 GLX Version: 4.6.0 NVIDIA 396.18 Direct Rendering: Yes
Audio: Card-1 NVIDIA Device 10f0 driver: snd_hda_intel bus-ID: 01:00.1 Sound: ALSA v: k4.15.0-13-generic
Card-2 Intel Sunrise Point-H HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
Network: Card-1: Intel Ethernet Connection (2) I219-V driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
IF: enp0s31f6 state: up speed: 100 Mbps duplex: full mac:
Card-2: Broadcom BCM4360 802.11ac Wireless Network Adapter bus-ID: 07:00.0
IF: N/A state: N/A mac: N/A
Card-3: Intel I211 Gigabit Network Connection driver: igb v: 5.4.0-k port: c000 bus-ID: 0b:00.0
IF: enp11s0 state: down mac:
Drives: HDD Total Size: 2570.6GB (4.0% used) ID-1: /dev/sda model: Samsung_SSD_850 size: 256.1GB
ID-2: /dev/sdb model: Samsung_SSD_850 size: 1024.2GB
ID-3: /dev/sdd model: KINGSTON_SH100S3 size: 120.0GB
ID-4: /dev/sdc model: Crucial_CT1050MX size: 1050.2GB
ID-5: /dev/sde model: KINGSTON_SV300S3 size: 120.0GB
Partition: ID-1: / size: 110G used: 97G (93%) fs: ext4 dev: /dev/sde1
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 29.0C mobo: N/A gpu: 0.0:52C
Fan Speeds (in rpm): cpu: 0
Info: Processes: 256 Uptime: 2:02 Memory: 2906.0/32101.8MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35

Gstreamer libs are installed.
Wiping old thumbs cache doesn't help.
All video files are played without problems.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
SYSTEM: Linux Mint 20.2 x86_64 | KERNEL: 5.11.0-22-generic | GUI: Cinnamon 5.0.4 | CPU: i7-6700K @ 4.3Ghz | GPU: Asus GTX1080 Strix (nVidia Driver 465.27) | RAM: 64GB Gskill Trident Z | SSD: Sandisk 240GB | DISPLAY: 4K@60Hz
User avatar
mtj
Level 1
Level 1
Posts: 46
Joined: Sun Dec 11, 2016 6:05 am
Location: Italy

Re: For some video files thumbnails are not generated

Post by mtj »

Try this: open any folder with file manager (Nemo I suppose), go to modify, preferences, preview, increase #GB in the option "only for file lower than.." or similar (sorry, I have Mint in Italian), choice a number o GB you want.
If a video is 12GB size but you set 10GB than the preview won't be created.
Max
Linux Mint 20.3 Cinnamon 64bit
User avatar
Gofer83
Level 1
Level 1
Posts: 36
Joined: Thu Feb 03, 2011 10:57 am

Re: For some video files thumbnails are not generated

Post by Gofer83 »

mtj wrote: Sat Apr 21, 2018 2:33 am Try this: open any folder with file manager (Nemo I suppose), go to modify, preferences, preview, increase #GB in the option "only for file lower than.." or similar (sorry, I have Mint in Italian), choice a number o GB you want.
If a video is 12GB size but you set 10GB than the preview won't be created.
Already tried it, not the case, but thanks.
All my videos are under 2GB.
SYSTEM: Linux Mint 20.2 x86_64 | KERNEL: 5.11.0-22-generic | GUI: Cinnamon 5.0.4 | CPU: i7-6700K @ 4.3Ghz | GPU: Asus GTX1080 Strix (nVidia Driver 465.27) | RAM: 64GB Gskill Trident Z | SSD: Sandisk 240GB | DISPLAY: 4K@60Hz
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: For some video files thumbnails are not generated

Post by phd21 »

Hi Gofer83,

I just read your post and the good replies to it. Here are my thoughts on this as well.

Did you install the 3rd party packages when asked during installation of Linux Mint? If not do that now (mint-meta-codecs).

There are various "thumbnail" packages in the Synaptic Package Manager (SPM) that you can install. Perhaps Xplayer requires one of those, like "ffmpegthumbs" or "mplayerthumbs", after installation, restart your file manager. Of course, you need to have "ffmpeg" and "mplayer" installed for those, would not hurt to install "mencoder" either.

Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
User avatar
Gofer83
Level 1
Level 1
Posts: 36
Joined: Thu Feb 03, 2011 10:57 am

Re: For some video files thumbnails are not generated

Post by Gofer83 »

phd21 wrote: Sat Apr 21, 2018 11:43 am Hi Gofer83,

I just read your post and the good replies to it. Here are my thoughts on this as well.

Did you install the 3rd party packages when asked during installation of Linux Mint? If not do that now (mint-meta-codecs).

There are various "thumbnail" packages in the Synaptic Package Manager (SPM) that you can install. Perhaps Xplayer requires one of those, like "ffmpegthumbs" or "mplayerthumbs", after installation, restart your file manager. Of course, you need to have "ffmpeg" and "mplayer" installed for those, would not hurt to install "mencoder" either.

Hope this helps ...
THX for the tips. Unfortunately, they didn't help.
Digging further...
SYSTEM: Linux Mint 20.2 x86_64 | KERNEL: 5.11.0-22-generic | GUI: Cinnamon 5.0.4 | CPU: i7-6700K @ 4.3Ghz | GPU: Asus GTX1080 Strix (nVidia Driver 465.27) | RAM: 64GB Gskill Trident Z | SSD: Sandisk 240GB | DISPLAY: 4K@60Hz
User avatar
Gofer83
Level 1
Level 1
Posts: 36
Joined: Thu Feb 03, 2011 10:57 am

Re: For some video files thumbnails are not generated

Post by Gofer83 »

Another clue found...
Opening videos folder as root generates thumbs for ALL videos. Must be something wrong with my user...though permissions look fine:
drwxr-xr-x 5 dany dany 4096 maj 23 2017 Filmy
drwxr-xr-x 2 dany dany 4096 maj 14 2017 Inne
drwxr-xr-x 2 dany dany 4096 kwi 19 14:26 Klipy
drwxr-xr-x 2 dany dany 4096 maj 14 2017 Koncerty
SYSTEM: Linux Mint 20.2 x86_64 | KERNEL: 5.11.0-22-generic | GUI: Cinnamon 5.0.4 | CPU: i7-6700K @ 4.3Ghz | GPU: Asus GTX1080 Strix (nVidia Driver 465.27) | RAM: 64GB Gskill Trident Z | SSD: Sandisk 240GB | DISPLAY: 4K@60Hz
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: For some video files thumbnails are not generated

Post by phd21 »

Hi Gofer83,

After re-reading your post and trying out "xplayer", I did not see any thumbnail options for "xplayer" which plays videos very well? So, do you mean that you are not seeing video file thumbnails from your Cinnamon File Manager (nemo)?

I installed the Cinnamon file manager "files" (Nemo) in my Linux Mint KDE just to see how it works there (not using the Mint repos), and it is showing thumbnails for images and videos, see screenshot.

You can change and or check the permissions of folders and files using your file manager by right-clicking the folder and or file(s), like the Videos folder, selecting properties, clicking the permissions tab, if you make changes click apply / ok.


Previous post:
Can't get an image preview at file manager - Linux Mint Forums
viewtopic.php?f=208&t=268018&hilit=dolphin


Hope this helps ...
Nemo1.jpg
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
hamzaiqbalbhinder

Re: For some video files thumbnails are not generated

Post by hamzaiqbalbhinder »

in order for thumbnails to show,, you must have xplayer and mint multimedia codecs(which will install vlc with itself) installed....i installed these two from software manager..after that my issue with thumbnails was solved,,
User avatar
trytip
Level 14
Level 14
Posts: 5366
Joined: Tue Jul 05, 2016 1:20 pm

Re: For some video files thumbnails are not generated

Post by trytip »

on mint19 try:

Code: Select all

apt install ffmpegthumbnailer
apt install libffmpegthumbnailer4v5
delete everything in .cache then logOFF and back in to refresh thumbnails
Image
linuxovios
Level 3
Level 3
Posts: 132
Joined: Sun Jul 01, 2018 2:57 am

Re: For some video files thumbnails are not generated

Post by linuxovios »

I have the exact same problem.

For example in a folder there are some game captures that do have thumbnails.

Then, either using openshot or powerdirector 14 (windows) I trim some the above videos and I reduce the bitrate in order to send them to my friends. These videos do not have thumbnails in Linux Mint. I don't know why. But surely has samething to do with the fact that I trimmed the original videos using video editing software. Please see attached image
Call Of Duty Modern Warfare_002.jpg
Locked

Return to “Cinnamon”