VLC on Android

mer. 02 février 2011 by Rémi Duraffort

A lot of people are asking about the status of VLC media player on Android. We usually answered that we are working on it. Now that some good progresses has been done, lets look at the current status of VLC media player for Android.

Current status

After two months of work, VLC media player is working quite well on Android based systems. The project still requires a lot of work before any release but we now know that running VLC media player on Android is achievable.

VLC on Android

At the moment VLC media player was mainly tested in the Android emulator, on a Nexus One, a Nexus S and an HTC Desire. As soon as we have a beta version we will ask every people who want to test the application to test it and to report any issue they encounter. This way we will be able to validate VLC media player on different phones and tablets.

Current work

We are currently mainly working on two parts: the video output and the audio output. These two modules are needed by VLC to render decoded images on the screen and to output sound.

Video output

The video output developed by Adrien Maglo (alias Magsoft) is now able to output video directly into an OpenGL surface. This is the second video output module created by Adrien for VLC on Android. This second version is able to run on any version of Android and not only Gingerbread (2.3) but is a bit less efficient. This trade of is very important because few phones and tablets are running Android Gingerbread at the moment.

Just two screenshots that show VLC decoding and drawing a trailer of Mr and Mrs Smith (h264 avc1 and MPEG AAC) on my Nexus One:

VLC playing a video

VLC playing a video

Audio output

A first audio output module was developed by Dominique Martinet (alias Asmadeus). This module was based on OpenSL ES which is quit convenient and efficient but OPENSL ES is only available on Android 2.3. This is the reason why we decided to write a new audio output module that might work on any Android devices regardless of the version.

For this reason, I (Rémi Duraffort, alias ivoire) am developing a second audio output module for every Android versions. The work is barely started so we cannot show you any video at the moment.

To be done

Improving the Video output

The video output must be improved to handle some specials cases like the rotation of the device or the power saving mode (and many more).

Some work must also be done to improve handling of the aspect ratio and rendering performance.

Audio output

As said before, the next goal is to finish the audio output module to handle audio correctly. This module requires some work to be able to output audio for any Android version.

Graphical User Interface

As you saw in the screenshots, the GUI was only made to help us testing both the audio and video output modules. Before any beta version, we must create a nice GUI that allows users to select the right media or stream to play. We will work on this task as soon as the audio and video output work well.

Porting libraries

VLC media player is relying on a set of libraries for a lot of functions like decoding, encoding, getting meta-datas (id3 tags), ...

To enable these functionalities we must port the underlying libraries to Android based devices. This work is not began yet but as for now we already have a lot of libraries (like FFmpeg) that allows us to decode many formats like: mpeg, h264, mp4 or ogg. So this task does not have priority.


The last task is to improve VLC media player performance by optimizing it for the devices it will run on. Every Android devices uses ARM processors which imply some specific optimizations that are currently not activated. Some devices also provide ARM NEON instructions that VLC can use to speedup decoding.


As a conclusion, you can notice that VLC media player on Android is working quite well. Anyway we are not ready to release a version until some months because we want something stable and nice to use. Be patient, we are working on it, even if this job is only done on our free time.

I will write another article when some interesting news about VLC and Android come out.

Compiling VLC for linux people

ven. 01 octobre 2010 by Rémi Duraffort

Compiling VLC media player on Linux is now something really easy. This article is a small tutorial for every people wondering about it.

VLC versions

First, you have to choose which version of VLC you would like to compile as at least two versions can be useful to compile

  • unstable …
read more

VLC media player extension for LibriVox

lun. 13 septembre 2010 by Rémi Duraffort

Thanks to VLC extensions, we recently created a script that fetch books from LibriVox. This website is a directory and a project that provide free audio books from the Public Domain like Frankenstein (Mary Shelley) or War and Peace (Leo Tolstoy).


LibriVox is a website in which you can …

read more

Free music and VLC

mer. 18 août 2010 by Rémi Duraffort

Actually more and more artists are following the Open Source movement and create really nice content (both audio and video). Since the latest release of VLC media player (1.1.0), thanks to VLC extensions, we added the ability to access selections of Free Music directly from the playlist. Let's …

read more

Saving memory for free

mer. 14 juillet 2010 by Rémi Duraffort

Memory representation of a structure

When creating a structure you do not really care about the representation of this structure in memory. You expect the structure's size to be the sum of its components sizes. Unfortunately the size of a structure also depends on other parameters.

These parameters are mainly …

read more

Visualization in VLC

lun. 01 février 2010 by Rémi Duraffort

Last summer, I worked on VLC media player as part of the Google Summer of Code, One part of my job was to integrate libprojectM inside VLC media player.

libprojectM is a library that create visualization according to the samples it receive. As you can see the results are really …

read more