DEV Community

ZHANG, HENGMING
ZHANG, HENGMING

Posted on • Edited on

Resolve E-AC-3(ASTC A/52B) decoder codec issue related to Fedora Linux (Asahi Linux).

Introduction

When playing a video file containing E-AC-3 (ATSC A/52B) audio codec on Fedora Linux, open with default player (either GNONE Videos
(aka Totem) or next generation video player Showtime Player) will error as E-AC-3 (ATSC A/52B) audio codec not found, but it's actually installed on the system.

Resolution

I referred to the post on the forum:

https://discussion.fedoraproject.org/t/e-ac-3-codec-missing/135347/3.

, and enabled the RPM Fusion repository on the Feodra Linux by the command:

sudo dnf install -y \
  https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
Enter fullscreen mode Exit fullscreen mode

, and installed additional gstreamer library by:

sudo dnf install -y gstreamer1-plugins-bad-freeworld
Enter fullscreen mode Exit fullscreen mode
sudo dnf install -y gstreamer1-plugins-ugly
Enter fullscreen mode Exit fullscreen mode

, and also removed ffmpeg-free (in order to install ffmpeg from RPM Fusion) by those commands:

sudo dnf remove -y ffmpeg-free
Enter fullscreen mode Exit fullscreen mode
sudo dnf remove -y libswscale-free
Enter fullscreen mode Exit fullscreen mode
sudo dnf remove -y libswresample-free
Enter fullscreen mode Exit fullscreen mode

, and install ffmpeg from RPM Fusion repository:

sudo dnf install -y ffmpeg
Enter fullscreen mode Exit fullscreen mode

Also, I needed to remove the libavcodec-free library from default fedora and updates repositories to install libavcodec-freeworld from RPM Fusion repository:

sudo dnf remove -y libavcodec-free
Enter fullscreen mode Exit fullscreen mode

, and install libavcodec-freeworld:

sudo dnf install -y libavcodec-freeworld
Enter fullscreen mode Exit fullscreen mode

And that's it. Now I can play most videos containing E-AC-3 audio codec without hassle using cross platform video players (not GTK-based) on Fedora Linux.

Top comments (0)