I believe these are essential for apps like Youtube, but the codecs are closed source. How does Ubuntu touch resolves this issue? Does it use VLC as the backend?


The Mp3/Mp4 support is third party used. Unless you install them, no media player put in by default runs them. There are different repositories that do supply them. This one I use is Fluendo mp3 decoder GStreamer 0.10 plugin.

  • It sounds like desktop. Are you sure the situation is the same with Mobile? – Naveen May 17 '14 at 3:23
  • @Naveen Ubuntu no matter the flavor still do not have certain libs installed to boot. You stated that mobile does not have these codecs, which supports every desktop version I have played with. If this plug-in is, in fact, wrong for you, then a simple look around in the software center should procure some results. – Virusboy May 17 '14 at 3:27
  • Ubuntu touch is a different beast, through. You sure you can install the GStreamer plugins in Ubuntu Touch? BTW, GStreamer 0.10 is obsolete, in newer versions of Ubuntu it won't be appearing. – Braiam May 17 '14 at 4:18

Much of what Canonical did when building Ubuntu Touch was about enabling OEMs to use their existing android drivers with UT. OEMs are reluctant to release sources for their devices' drivers. Not only that, there are many hardware manufacturers which have different policies so it is hard to get something more than a binary blob. Essentially, there is an interfacing layer called libhybris which talks to a part of Android's multimedia stack called AndroidMedia. Then there is a gst-hybris GStreamer plugin. GStreamer is used as a backend for Qt's multimedia stack. In the end, you have your hardware acceleration if your chip supports and OpenMAX (omx) APIs are implemented.

Take a look at the page 20 in the "Ubuntu touch internals" and at Android's multimedia stack: http://elinux.org/images/c/cf/Ubuntu_Touch_Internals_1.pdf#20 https://source.android.com/devices/media.html


I recommend installing the Fluendo codec. An easy way to install this codec and a few others is to install the ubuntu-restricted-extras package. First, make sure you have the Universe repositories enabled. Then you will need to open a terminal. How to do this varies by GNU/Linux distro and desktop, but you can figure it out. Then, type sudo apt-get install ubuntu-restricted-extras in it. Press Enter. This will install some useful codecs, some fonts made by Microsoft, but no programs, except for Adobe Flash Player. You may need to restart your system afterwards. However there is no prompt or warning of any kind to restart your system, I recommend doing so anyway. The reason doing all of this is necessary is because Canonical Ltd. (the makers of Ubuntu) could not include the proprietary codecs in Ubuntu because they were not free. However, installing this package takes care of it and installs the codecs, Adobe Flash Player, and Microsoft TrueType Fonts anyway.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.