94
submitted 10 months ago by mmababes@lemmy.world to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] lemann@lemmy.dbzer0.com 11 points 10 months ago

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

[-] mmababes@lemmy.world 4 points 10 months ago

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

[-] JoMomma@lemm.ee 10 points 10 months ago

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

[-] mmababes@lemmy.world 1 points 10 months ago
[-] AVincentInSpace@pawb.social 1 points 10 months ago

Which one are your files encoded with?

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

[-] mmababes@lemmy.world 1 points 10 months ago

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

[-] AVincentInSpace@pawb.social 2 points 10 months ago* (last edited 10 months ago)

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)

[-] superbirra@lemmy.world 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
[-] mmababes@lemmy.world 3 points 10 months ago* (last edited 10 months ago)

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

[-] AVincentInSpace@pawb.social 2 points 10 months ago* (last edited 10 months ago)

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.

[-] mmababes@lemmy.world 1 points 10 months ago

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:

[-] AVincentInSpace@pawb.social 2 points 10 months ago

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?

[-] mmababes@lemmy.world 1 points 10 months ago
[-] AVincentInSpace@pawb.social 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?

[-] cmnybo@discuss.tchncs.de 1 points 10 months ago

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

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

Linux

48113 readers
660 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