Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8169331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T20:48:44+00:00 2026-06-06T20:48:44+00:00

Android doesn’t support many media file formats (files like .mkv), by default. But players

  • 0

Android doesn’t support many media file formats (files like .mkv), by default. But players like MXPlayer and MoboPlayer enables you to play such files. How do these applications work?
Is there any programming tutorials or articles explaining how it is done?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T20:48:45+00:00Added an answer on June 6, 2026 at 8:48 pm

    Android does not support all the media formats by default. Hence to support an unsupported format, applications like MoboPlayer perform standard media player tasks themselves using a combination of Java and native code via JNI.

    To understand more, let us see what a media player does to play a media file and how these are performed by MoboPlayer like apps in Android.

    Typical tasks of a Media Player

    A player needs to perform following tasks (a) Demux the file format and extract the video/audio (b) Decode the video and the audio (c) Display the video and Play the audio. Let us consider how these three areas can be handled in case of MoboPlayer like player.

    File format Demux

    Android does not support all the file format containers, by default. For example, ASF (file format of WMV files) is not supported. Hence a player needs to have it’s own demuxer to do the job. libavformat (used by FFMPEG) is a leading open source demux library.

    Video/Audio decode

    libavcodec (used by FFMPEG) is a leading open source decoder library that decodes demuxed stream and produces uncompressed raw output frames. Hence it is often used by players like MoboPlayer.

    Video display

    There are two options to display a video. Players use either SurfaceView buffers or OpenGL accelerated buffers. Android provides a cast of java Surface object (abstraction of underlying surface flinger object) to an internal native object called NativeWindow, which can then be accessed by the native code.

    ICS (Android 4.0) onwards, Android provides access to the OpenGL accelerated buffers (SurfaceTexure and TextureView) too. These can be used to display the video as well.

    Audio playout

    Players can directly interact with the AudioTrack object provided at the Java level to play the decoded audio samples.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know Android doesn't support MJPEG natively but are there any jar files/drivers available
Looks like Android SDK doesn't come with any AVDs byt default. We need to
Why do Android xml layout files need android: before every single view attribute? Doesn't
I am trying to install Android SDK on windows 7 64-bit but it doesn't
I'm using Google API 8 (Android 2.2) with support package v4. It doesn't give
I've installed the Android SDK and the ADT plugin, but Android doesn't show up
After reading some posts like this one: Choose File Dialog It appears that Android
I've not used JSON before and as Android doesn't support SOAP I'm trying to
I tried to develop application in persian language, as i understood android doesn't support
I know that android doesn't highlight anything in TouchMode. But I am doing something

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.