Overcome Browser Can’t Play Streaming Video on Linux

Playing videos on the internet is indeed more practical than having to download them first. But to do that, of course the device must support the media being played, because if not, of course the video will not be able to be watched and an option appears to download it.

If you experience something like this on a Linux-based computer (Ubuntu, Debian, etc.), the problem is most likely with the video codec only. Because the codec is intended as a tool for decoding the video so that it can be played.

So the solution you can do is enough install all video codecs the. Of course if you install one by one it will take a very long time, but here I will explain how the fastest way to do it.

Browser Solution Can’t Play Streaming Video on Linux

You just need to install FFMPEG, it is a program that provides various libraries for all media files, including video codecs. But if you have previously installed it, it is highly recommended to reinstall it.

The following is the command to reinstall, please apply according to the OS you are using.


sudo apt install ffmpeg -y


sudo pacman -S ffmpeg


sudo dnf install ffmpeg


sudo yum install ffmpeg ffmpeg-devel


sudo zypper in ffmpeg-4 x264 x265

After you have finished installing FFMPEG, please try the test on the HTML5Test website. Check the section Video Codecs > MP4 with H.264 support make sure it’s written Yes.

Or you can also go directly to the streaming site that will be used, for example Twitch, Youtube, and others. If it can be played without any problems, it means that ffmpeg has been installed without any problems.

Meanwhile, if you have installed ffmpeg but still can’t play streaming video, then I suggest to download it.reboot first the device.

Also read: How to Fix Video Can’t Play on Android


The problem of not being able to play streaming video is basically because the video codec is still not installed on the computer. If on Linux, the easiest way is to install the FFMPEG program.

At first glance FFMPEG, the program has no GUI and only works from the CLI (Command Line Interface). And besides reading video codecs, the program can be used to perform video format conversion or audio quickly.

If you have any questions or additions regarding the tutorial above, you are very welcome to ask them in the comments column below this article.

Hopefully useful and good luck