VLC on Android

Source: Internet
Author: User

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.

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:

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 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 transform formats like: MPEG, h264, MP4 or Ogg. so this task does not have priority.

Optimizations

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.

Summary

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.