Codecs question

This is probably been said hundreds of times, but I cannot seem to find a clear answer. What do I need the codecs from Packman for exactly?

I use Google Chrome (I know, still not changing), have AMD GPU. I watch videos sometimes, also YT from the browser.

What’s going to give me ‘pain’ not having the packman codecs installed, or is it? Trying to figure out what things require codecs and if that is going to be a thing for me if Packman shuts down. I know Mesa has enabled codecs, ffmpeg codecs are installed, but what is actually used when.

My suggestion would be not to sweat it and get on enjoying your system. If you run into trouble playing a particular video, then you have a problem.

I have never used the packman repo. I currently have Brave Origin installed via rpm for browsing. I have ffmpeg rpm installed. I also have VLC and Cellulloid flatpaks installed.

I have been playing (youtube|tiktok|X)videos and (Amazon Prime|Netflix|BBC) streaming etc. without any issues. For audio, I’ve been playing apple music, podcasts, and music from my NAS with Jellyfin all without any trouble.

I would imagine that if I wish to do some video encoding I may run into issues, but I don’t have that need at the moment.

I plan to do a little audio encoding

Please see this basic summary.

1 Like

Use flatpak for browser, video player, obs (streaming), kdenlive (video editor) … Anything involving h264/h265 codecs.

For most people that means install firefox, chrome or vlc, mpv via flatpak.

MPEG-4 part 10 (codec h264) is covered by libopenh264, so most web browsing and video playing is covered by the openSUSE packages.

Yes, but its still annoying not having h265 codec availability in browser - I don’t mind flatpak at all, but I know people will just come back with a site where it requries h265 such as one of the streaming services, so I like not repeating myself.

@dza:

Quoting Wikipedia:

High Efficiency Video Coding (HEVC), also known as H.265 and MPEG-H Part 2, is a patent-encumbered video compression standard designed as part of the MPEG-H project as a successor to the widely used Advanced Video Coding (AVC, H.264, or MPEG-4 Part 10).

If you wish to ignore the “patent encumbered” issue then, please accept that it’s an area where we will refrain from helping you – for reasons which have been given many times in these forums.

I don’t recall asking for any “help”, if you read my response I don’t have an issue with using the flatpak.

3 Likes

@dza:

On the other hand, my view is that, if the Codecs have been inserted into the GPU’s silicon by the manufacturer and, regardless of whether the end-customer had either purchased or stolen the GPU, the responsibility for the licensing of the Codecs on that GPU’s silicon is, the responsibility of the GPU’s manufacturer.

  • Therefore, AFAICS, it makes absolutely no sense for any operating system to not support those Codecs.
    But, I suspect that, the people who have studied law and legalities will dispute my opinion and point of view … :smiling_imp:
1 Like

Appreciate this summary, very enlightening.

That is “the Nvidia way” apparently, they supply the silicon and proprietary driver and require that you download their enabled driver from their servers, so their apparently licensed binaries are not re-distributed according to their license…

[but no lawyer here as well, so my understanding might be faulty as well…]

I think reluctance to use Flatpak comes from a misunderstanding of how it works. Flatpak is still native Linux applications, just packaged with their dependencies and some isolation. They’re not running in a vm or through a flaky reverse engineered layer like Wine or Proton.

It’s somewhat ironic that Wine and Proton are often treated as native solutions, while Flatpak is sometimes dismissed as non-native, even though it’s much closer to traditional Linux application execution.

:man_shrugging:

1 Like

Tell me how to enable previews for camcorder files in Dolphin.

You install Firefox via Flatpak, then the next problem is linking KeePassXC to Firefox, and it just goes round in circles.

KeepassXC has always been the hard way. There are solutions for it. I prefer saving some passwords in the browser because giving full access to my password manager thru any surface incl. web-extension, socket is more of a risk.

My personal dislike of Flatpaks is not about native or not (I know it is), but overhead and the restrictive sandbox. Sure you can ‘fix’ issues using flatseal, but I do not want to troubleshoot something not working as expected, I just want to use it. As such, I rather use Appimage if the regular repos don’t have something. Or homebrew. Using appman, appimages are suprisingly easy.

Btw, after reading up on the topic incl the link provided above vs the lazy approach of just having the codecs installed, I have completely removed anything from packman and reverted to the default repos and disabled the packman repo.

Sadly its just the way of life of using Linux. You either use it as a “tablet” stock, or you appreciate the tinkering aspect - sometimes becoming maintainer, unvoluntarily - or fixing your own issues that others don’t care about (happens to me, a lot - as I can’t put it to rest).

  • This is one of the reasons commercialized linux matters, streamlining that process.

Lots of the projects these days tend to copy that reduction of complexity and making opinionated decisions; restrict flexibility, modularity and instead hardcode limitations…

I don’t like that, its not the Linux way.

But I’m sure 99% of you can find reasonable fixes, for often minor Flatpak issues because once your done that issue just gets replaced with another one you don’t like.

A “can do” mentality and enjoying the process relentlessly is one of the traits you probably need to run Linux beyond stock configuration.

There’s also pros to isolation, containerization in continuity, portability and compat across diff distros.

Some of us recognise that, Flatpak introduces code to our systems that

  1. Has no guarantee that it has been thoroughly tested – no OpenQA …
  2. Has not been screened by paid staff.
  3. Consumes system resources due to the duplication of system libraries.
    BTW: This is the same argument as that for using Containers on Servers instead of Virtual Machines …
1 Like

1+2. Packman neither.
3. Invalid. Complete non-sense.

1 Like