Endless OS does not ship with the H.264 codec. One needs to pay to get that.

Is there any other way to either download the codec for free?

EDIT:-The actual problem that I was facing was I was unable to view some of the YouTube videos on the default internet browser(Chromium),and similarly after downloading the video on the laptop.

The problem YouTube said was that the H.264 codec was missing in my computer,which isn't free on the Endless OS.

  • ffmpeg.org Commented Dec 13, 2017 at 13:23
  • @IporSircer but the software is not available for Endless,any way to get it compatible?
    – MathMan
    Commented Dec 13, 2017 at 13:30
  • 2
    Endless is a GNU/Linux distribution, and ffmpeg can be compiled for any Linux distribution (as well as macosx and windows too). ffmpeg.org/download.html Commented Dec 13, 2017 at 13:33
  • @IporSircer The FFmpeg project provides programs like ffplay and a plethora of command line switches but I don't think this is a user friendly way to answer a question to a novice user (…in a comment).
    – LiveWireBT
    Commented Dec 13, 2017 at 17:10
  • @LiveWireBT: all gui video players based on ffmpeg's libavcodec as shared library. So if he compile libavcodec with all extra codecs, then suddenly all of his gui video players can handle them. (for example: Debian has libavcodec57 and libavcodec57-extra packages for this reason. You can swap them anytime.) Commented Dec 14, 2017 at 8:43

1 Answer 1


The endless Os does not ship with the H.264 codec,and one needs to pay to get that. Is there any other way to either download the codec for free ?

Simply downloading the codec in binary form won't solve your problem, neither will plain FFmpeg solve the problem that you have in a way that's comfortable for you. So what is your specific problem? Did you download a file from somewhere to your hard drive and want to play it locally or did you visit a website in your browser that has a video which doesn't play?

Also in which country do you live? There is a valid reason why things are as they are:

Note: As a US company, Endless must pay patent license royalties to 3rd party license agencies when the above codecs are installed on an Endless system. These costs are included when you buy a system from Endless, and they are covered by the upgrade charge if you have downloaded Endless OS for free. This will also occur if you buy a computer that already comes with the Endless OS. Only when the manufacturer itself offers the codecs to its buyers, the computer will come with the CODECS.
How can I download the codecs to play more types of music and videos?

If you don't live in a country where these legal restrictions apply then you can download an application like VLC directly from the App Center in Endless OS to play local media files. I just tried it in my Endless OS VM with a movie trailer and it played fine. (Technically VLC comes with demuxers, decoders, ffmpeg and many more plugins to make media playback work and you can browse all the included modules but I couldn't find a good way to explain how to trace the avcodec decoder to the correct module. Let's assume it's the ffmpeg decoder module.)

For videos on the web:

On computers with Intel, AMD or other x86-64 CPUs: from Endless OS 3.0.7 onwards, you can install Google Chrome from the App Center. Netflix and YouTube should work fully in Google Chrome. Depending on when you first installed Endless OS, it may already be your default browser.
On the Endless Mini or other computers with ARM CPUs: YouTube should work fully in the built-in browser but Netflix is not supported due to digital rights management.
Why can’t I watch Netflix or YouTube videos?

Firefox should also be able to play h.264 encoded videos though as it has shipped a such a codec too for a while now but my tests a few years back failed due to a missing audio codec. This may have been solved now, but I haven't checked yet due to time constraints.

  • The specific problem was I wasnt unable to play the youtube video before i updated my software .And the error it showed me was a missing codec which isnt free on Endless.I downloaded that video to see if it worked locally which it didnt and hence the question.I live in India and so VLC is free to be used.Need to check that option now
    – MathMan
    Commented Dec 14, 2017 at 15:14
  • I use the chromium software but now need to shift to Chrome now
    – MathMan
    Commented Dec 14, 2017 at 15:17
  • Thanks for you clarification! I see now that some videos do not play in Chromium (labeled "Internet" on my fully updated Endless OS VM), but Firefox and Chrome work. I used a video from Vimeo to since they only offer H.264 content, not like YouTube and others which also offer VP9. I hope I could solve your problem. :)
    – LiveWireBT
    Commented Dec 14, 2017 at 16:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .