this post was submitted on 04 Jan 2024
94 points (97.0% liked)

Linux

48331 readers
491 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 
all 24 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 10 months ago (1 children)

On Arch, I use ffmpegthumbnailer to accomplish this.

Kickass Women isn't going to see this comment because this user is from lemmy.world, which has blocked my instance.

[–] [email protected] 9 points 10 months ago* (last edited 10 months ago) (2 children)

On Arch, I use ffmpegthumbnailer to accomplish this.

Kickass Women isn't going to see this comment because this user is from lemmy.world, which has blocked my instance.

Reposted for you, I don't think they've blocked mine

[–] [email protected] 3 points 10 months ago
[–] [email protected] 1 points 10 months ago
[–] [email protected] 11 points 10 months ago (1 children)

Roughly how big are these files, and are they stored locally on your machine or mounted over the network (using FUSE, GVFS, or a kernel-based one like NFS?)

I've noticed a few linux file managers are quite cautious loading multimedia thumbnails for networked filesystems mounted with GVFS, not sure of a fix for that aside from looking for a command line utility to mount using FUSE instead

[–] [email protected] 4 points 10 months ago (2 children)

These files are anywhere between 600 MB to 1.5 GB in size and thet are stored locally on my PC.

[–] [email protected] 10 points 10 months ago (1 children)

Make sure you have all the free and non-free video codecs installed

[–] [email protected] 1 points 10 months ago (1 children)
[–] [email protected] 1 points 10 months ago (1 children)

Which one are your files encoded with?

(You can check this by running ffprobe on the file.)

[–] [email protected] 1 points 10 months ago (1 children)

Shoot can't install it because it's probably in a repository that is not listed in my sources

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago) (2 children)

ffprobe is included in the ffmpeg package. For future reference you can find what package contains a file by doing dpkg-query -S /bin/ffprobe (note that the path you give it is relative to /usr)

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago) (1 children)

Got the command to work. Here's the info for one of the files for which a preview thumbnail/icon isn't available:

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago) (1 children)

Looks like that video is encoded H.264, which according to Google is one of the codecs that Debian only makes available via third party repository.

Here are instructions from debian.org for installing the codec by manually downloading and installing a single package file:

https://wiki.debian.org/MultimediaCodecs

And here are instructions from a third party explaining how to tell apt how to install them so they can be kept up to date (be sure you read the warning on the debian.org page about why they don't tell you to do that before you do it):

https://www.debiantutorials.com/how-to-install-ffmpeg-with-h-264mpeg-4-avc/

Depending on how exactly your file manager works, installing the codec may or may not be sufficient to display thumbnails. If not, there are probably instructions specific to your file manager for installing the appropriate plugin.

[–] [email protected] 1 points 10 months ago (1 children)

I have been installing the codecs through the Software app. Should I delete them and then install through the terminal?

Btw here are the codecs I have installed through the Software app:

[–] [email protected] 2 points 10 months ago (1 children)

You have openh264 installed already which should cover your bases. Since it quite clearly isn't I'm not sure what to suggest. What file manager is this that's having issues?

[–] [email protected] 1 points 10 months ago (1 children)
[–] [email protected] 3 points 10 months ago* (last edited 10 months ago)

Ext4 is a filesystem. That is the part of the kernel that actually stores and retrieves the files on disk. What program are you using to browse files? It's a bit hard to tell from this screenshot what program it's a screenshot of, but it looks like Nautilus (the default file browser in GNOME). Is that it?

[–] [email protected] 3 points 10 months ago

lol, no :)

first of all, it only searches for occurrences in already installed packages and is more or less a grep -l xxx /var/lib/dpkg/info/*.list. So you can't use it in order to determine which package to install, for that you use https://packages.debian.org or apt-file instead.

Secondly, what you search for isn't relative to anything (wtf):

$ dpkg-query -S /etc/grub.d/                                  
fwupd, grub-common: /etc/grub.d
[–] [email protected] 1 points 10 months ago

Look for preview size in the settings for your file manager and increase it.

[–] [email protected] 4 points 10 months ago

Something similar happened to me once and installing tumblerd fixed it.

[–] [email protected] 3 points 10 months ago (2 children)

There should be an option in the setting to choose the max file size for which to generate the thumbnails.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago)

This is what I see when I open Gnome Files, click on the icon with three lines, and select Preferences (there's no option for choosing the max size):

[–] [email protected] 2 points 10 months ago

classic gnome moment