ການຕິດຕັ້ງສ່ວນເສີມສຳລັບການເບິ່ງຮູບເງົາ ແລະ ຟັງເພງ

Ankur Sinha, Héctor Louzao, Neil Gompa (ngompa), Dominik Mierzejewski (rathann), Caleb McKee, Rowan Puttergill Version F42 and newer Last review: 2026-05-10
ໃນຖານະຜູ້ໃຊ້ Fedora ແລະ ຜູ້ດູແລລະບົບ, ທ່ານສາມາດນຳໃຊ້ຂັ້ນຕອນເຫຼົ່ານີ້ເພື່ອຕິດຕັ້ງສ່ວນເສີມມັລຕິມີເດຍເພີ່ມເຕີມ ເຊິ່ງຈະຊ່ວຍໃຫ້ທ່ານສາມາດເປີດໄຟລ໌ວິດີໂອ ແລະ ສຽງໄດ້ຫຼາຍຮູບແບບ.

ຂັ້ນຕອນການດຳເນີນການ

  • ນຳໃຊ້ເຄື່ອງມື dnf ເພື່ອຕິດຕັ້ງແພັກເກັດທີ່ສະໜອງໄລບຣາຣີມັລຕິມີເດຍ:

    $ sudo dnf group install multimedia

Extended codec support with RPM Fusion

The multimedia group covers many common formats, but some codecs are not included in Fedora’s official repositories due to patent or licensing restrictions. For full support including MP3, AAC, H.264 video files, and HEVC, enable the RPM Fusion repositories and install the additional codec packages from there.

See Enabling the RPM Fusion repositories for setup instructions.

H.264 support for WebRTC

Cisco provides an OpenH264 codec (as a source and a binary), which is their implementation of the H.264 codec, and they cover all licensing fees for all parties using their binary. This codec allows you to use H.264 in WebRTC with gstreamer and Firefox.

The code source is available at https://github.com/cisco/openh264 under a BSD license. The binary is released under this agreement from Cisco: https://www.openh264.org/BINARY_LICENSE.txt

Upstream Firefox versions download and install the OpenH264 plugin by default automatically. Due to its binary nature, Fedora disables this automatic download.

OpenH264 only enables H.264 in WebRTC contexts such as video calls. It does not provide general H.264 video playback. For general H.264 playback, see Enabling the RPM Fusion repositories.

The fedora-cisco-openh264 repository is enabled by default. To install the plugins:

$ sudo dnf install gstreamer1-plugin-openh264 mozilla-openh264

After installation, open Firefox and navigate to menuExtensions and themesPlugins to confirm the OpenH264 plugin is enabled.