• Yer Ma@lemm.ee
      link
      fedilink
      arrow-up
      9
      ·
      11 months ago

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

            • AVincentInSpace@pawb.social
              link
              fedilink
              English
              arrow-up
              3
              arrow-down
              1
              ·
              edit-2
              11 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)

              • Kickass Women@lemmy.worldOP
                link
                fedilink
                arrow-up
                3
                ·
                edit-2
                11 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
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  edit-2
                  11 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.

                  • Kickass Women@lemmy.worldOP
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    11 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:

              • superbirra@lemmy.world
                link
                fedilink
                arrow-up
                4
                arrow-down
                1
                ·
                11 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