哦，不！Fedora 正在放弃对流行的视频编解码器的支持
Fedora 图形加速

> 
> Fedora 37（和 36）可能不再允许你使用一些流行的编解码器来方便地使用视频的图形加速功能。
> 
> 
> 


![哦，不！?Fedora正在放弃对流行视频编解码器的支持[这里有原因！]](/data/attachment/album/202210/07/091549e2zymcpycczhmcpp.png)


Fedora 是一个流行的 Linux 发行版，迎合了那些希望在他们的工作站（和服务器）上使用最先进技术的用户。


它没有搭载任何专有组件，默认情况下坚持使用完全开源的软件库。


虽然这对一些人来说已经很不方便了，但现在看来，另一个变化可能会困扰期待 Fedora 37 的用户。


[最近在 Fedora 上的一个 Mesa 的提交](https://src.fedoraproject.org/rpms/mesa/c/94ef544b3f2125912dfbff4c6ef373fe49806b52?branch=rawhide) 告诉我们，由于法律问题，**H.264、H.265 和 VC-1** 编解码器的视频加速 API（VAAPI）的支持已经被禁用。


这一变化可能也会被回传到 Fedora 36。



> 
> ? H.264 是大多数视频行业使用的主流视频编解码器。
> 
> 
> 例如，苹果公司广泛使用 H.264 编解码器，用于 iPhone 手机拍摄的照片和视频。你可以阅读此 [文档](https://support.apple.com/en-us/HT207022) 来了解更多。
> 
> 
> 


Fedora 项目论坛的一位成员 [首先发现](https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PYUYUCM3RGTTN4Q3QZIB4VUQFI77GE5X/) 了 Fedora 中的这一变化，他将其描述为 “*F36 的一大退步*”。


### 这对 Fedora 用户来说是坏消息吗？


是的，基本上是的。


**主要是，它将影响使用开源驱动程序的 AMD GPU 用户**，阻止他们使用 **GPU 加速** 来播放需要使用这些编解码器的视频内容。


此外，它还会影响到 **任何使用开源图形驱动的用户**，即使他们在英特尔芯片上运行 iGPU。Fedora 开发者还没有对此提供任何澄清，但你可以自己测试一下。


如果你在英伟达显卡上使用专有驱动程序，你就没有什么可担心的。


运行旧硬件的用户也可能有问题，他们的系统可能不支持这些编解码器。


这些编解码器最常用在你从 BT 或各种服务中下载的视频中，这些视频还没有转移到更新一代的编解码器（如 **AV1** 和 **VP9**）。


我相信，这是互联网上的**大部分**视频的情况。


一些流媒体平台也使用这些编解码器在其各自的平台上提供内容，这可能导致用户在试图通过其服务访问内容时面临问题。


### 这是否影响到每个人？


如果你是那些观看 YouTube 视频的人，不使用任何需要这些编解码器的视频的平台或下载它们，你就不会有任何问题。


### Fedora 正在避免法律上的麻烦


还没有人起诉 Fedora 或强迫他们这样做。然而，正如 [Phoronix](https://www.phoronix.com/news/Mesa-Optional-Video-Codecs) 所指出的，Mesa 的一个变化最近允许开发者选择性地禁用编解码器，以帮助避免法律纠纷和软件专利冲突。


因此，为了避免法律上的混乱，Fedora 进行了这一改变。


H.264 和 H.265 的专利属于一家名为 [MPEG LA](https://en.wikipedia.org/wiki/MPEG_LA) 的公司，该公司专门用于持有视频编解码器和显示标准领域的专利。


而 VC-1 的专利属于 [SMPTE](https://en.wikipedia.org/wiki/Society_of_Motion_Picture_and_Television_Engineers)，这是一个由媒体和娱乐机构的专业人士管理的团体。


考虑到用户在购买显卡时已经支付了使用这些编解码器的许可，我们仍然不确定为什么会这样。你可以在 [Fedora 的法律列表会话](https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org/thread/M4LTGLHY5JX42IHC45WNWB5FH2JIFMAS/) 中阅读更多相关信息。


### 可能的解决方法是什么？


**显然**，你必须依赖基于 CPU 的解码了。当然，你也可以使用官方或第三方的 Mesa 构建版本。


Flatpak 应用程序可能允许你观看图形加速的视频内容而没有问题。但是，这要取决于软件的维护者。


但是，对于大多数用户来说，这可能是一个不方便的解决方案。


另一个解决方法可能是在旨在包含第三方应用程序的 RPM Fusion 仓库中单独包含支持 VAAPI 的编解码器。


然而，负责 Fedora RPM Fusion 仓库的开发者对维护 Fedora Mesa 3D 的复刻版本不感兴趣。该开发者提到：



> 
> rpmfusion 基本上没有兴趣去打包和维护它，而且保持仓库与 Fedora 同步对我来说也不是一个优先事项。
> 
> 
> 


![](/data/attachment/album/202210/07/091550f6mz3369dqz6u8od.jpg)


*? 你对 Fedora 的这一变化有什么看法？请在下面的评论中告诉我们你的想法。*




---


via: <https://news.itsfoss.com/fedora-drops-vaapi-codec/>


作者：[Sourav Rudra](https://news.itsfoss.com/author/sourav/) 选题：[lkxed](https://github.com/lkxed) 译者：[wxy](https://github.com/wxy) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![](/assets/images/pikapods-banner-v3.webp)


![](/assets/images/pikapods-banner-v3.webp)

Fedora is a popular Linux distro that caters to users who want cutting-edge tech on their workstations (and servers).

It doesn't ship with any proprietary components and sticks to completely open-source repositories by default.

While that can be inconvenient for some already, now it seems another change may bother users looking forward to Fedora 37. 😞

A [recent commit to Mesa on Fedora](https://src.fedoraproject.org/rpms/mesa/c/94ef544b3f2125912dfbff4c6ef373fe49806b52?branch=rawhide&ref=news.itsfoss.com) tells us that the Video Acceleration API support has been disabled for **H.264, H.265, and VC-1** codecs due to legal worry.

This is likely to be backported to Fedora 36 as well.

For instance, Apple extensively uses H.264 codec for its photos and videos captured by iPhones. You can read the

[documentation](https://support.apple.com/en-us/HT207022?ref=news.itsfoss.com)to learn more.

The change in Fedora was [first spotted](https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PYUYUCM3RGTTN4Q3QZIB4VUQFI77GE5X/?ref=news.itsfoss.com) by a Fedora Project forum member who describes it as '*a big regression from F36*'.

## Is This Bad News for Fedora Users?

Yes, mostly.

**Primarily, it will affect AMD GPU users using open-source drivers**, preventing them using **GPU acceleration** to play video content that requires using these codecs.

Additionally, it also affects **any user who uses open-source graphics drivers**, even if they run iGPUs on Intel chips. Fedora developers have not yet provided any clarity on this, but you can test it out for yourself.

If you are someone who uses proprietary drivers on your NVIDIA graphics card, you have nothing to worry about.

Users running old hardware could also have problems, considering their system may not support these codecs.

Some of the most common uses of these codecs are in videos that you download from torrents or services that have not moved on to the newer generation codecs such as **AV1** and **VP9**.

And that's the **majority of the internet **I believe**.**

Some streaming platforms also use these codecs to run content on their respective platforms which can cause users to face issues while trying to access content through their services.

[Notion – One workspace. Every team.We’re more than a doc. Or a table. Customize Notion to work the way you do.](https://notion.grsm.io/itsfoss?ref=news.itsfoss.com)![](https://www.notion.so/front-static/meta/default.png)


![](https://www.notion.so/front-static/meta/default.png)

## Does This Affect Everyone?

If you are among the ones who watch YouTube videos and do not use any platform or download videos that require these codecs, you will have no issues.

You might want to explore more about AV1, if you are hearing about it for the first time:

## Fedora is Avoiding Legal Trouble

No one sued Fedora or forced them to do this yet. However, a change in Mesa recently allowed devs to optionally disable codecs to help avoid legal trouble and software patent conflicts as spotted by [Phoronix](https://www.phoronix.com/news/Mesa-Optional-Video-Codecs?ref=news.itsfoss.com).

So, to avoid a legal mess, Fedora went ahead with this change.

The patents for H.264 and H.265 are with a company called [MPEG LA](https://en.wikipedia.org/wiki/MPEG_LA?ref=news.itsfoss.com), which specializes in holding patents in the video codecs and display standards sector.

Whereas the patent for VC-1 is under [SMPTE](https://en.wikipedia.org/wiki/Society_of_Motion_Picture_and_Television_Engineers?ref=news.itsfoss.com), which is a group run by professionals from the media and entertainment sector.

We are still not sure how it all works, considering the user has already paid for the license to use these codecs when they purchase the graphics card. You can read more about it in [Fedora's legal list thread](https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org/thread/M4LTGLHY5JX42IHC45WNWB5FH2JIFMAS/?ref=news.itsfoss.com).

[Here’s What’s Coming to Fedora 37Fedora 37 is due for release next month. Let us take a good look at the changes it brings in.](https://news.itsfoss.com/fedora-37-features/)![](https://news.itsfoss.com/content/images/2022/09/fedora-37-features.png)


![](https://news.itsfoss.com/content/images/2022/09/fedora-37-features.png)

## What Are The Possible Workarounds?

**Of course, **you will have to depend on CPU-based decoding. Sure, you can also use an official or third-party Mesa build.

Flatpak apps may allow you to watch accelerated video content with no issues. But, it is up to the maintainer of the software.

But, it can be an inconvenient solution for most users.

The other workaround could be to include the codecs separately with VAAPI support in an RPM Fusion repository, meant to contain third-party applications.

However, the dev responsible for Fedora's RPM Fusion repo is not interested in maintaining a fork of Fedora's Mesa 3D. The developer mentions:

There is little to no interest at rpmfusion to package and maintain it, also keeping the repo in sync with fedora isn't a priority for me.

![](https://news.itsfoss.com/content/images/2022/09/fedora-rpm-mesa.jpg)

*💬 What do you think about this change in Fedora? Let us know your thoughts in the comments below.*

## More from It's FOSS...

- Support us by opting for
[It's FOSS Plus](https://itsfoss.com/#/portal/signup)membership. - Join our
[community forum](https://itsfoss.community/). - 📩 Stay updated with the latest on Linux and Open Source. Get our
[weekly Newsletter](https://itsfoss.com/newsletter/).