Android 2.x does not play mp4 with H.264 baseband from scratch.
However, some apps are able to manage this when playing the video files in-app.
How to append the encoder/decoder to the videoplayer within the app to make sure, that this format is supported without external dependencies.
Thanks
These apps integrate some media library (as example FFmpeg)
However, explaining how to compile, integrate and use such library is well beyond stack overflow scope.
If you are interested how to do this. Read following questions/articles:
FFmpeg on Android
ffmpeg for a android (using tutorial: "ffmpeg and Android.mk")
http://sourceforge.net/projects/ffmpeg4android/
http://www.roman10.net/how-to-build-ffmpeg-for-android/
Related
I am trying to understand the working of playing midi files in Android.I know that Android uses Sonivox Eas Libraries and OpenSL ES libraries.But I wanted to get into more details and wanted to know how these libraries are called and what are the functions of these libraries.
Also I wanted to generate my own MIDI notes that could be streamed or read and the output sound could be produced.How can i do that?
I am thinking of making an Android application for playing a MIDI file . How can i start with building the application? What other libraries apart from mentioned above would be needed to play a midi file.
I am planning to use native (C++/C) android development to make this android application.
I need an Android audio streaming player that I could use to play live RTMP streams? I have been searching extensively and have not yet found one that I am comfortable using. I have looked at Vitamio (https://www.vitamio.org/en/) and have tried contacting them for purchasing their source, but have received no response after about two weeks. Therefore, I need to find a different vendor.
Here are the basic requirements:
Audio only playback
No hosting services necessary - I already have RTMP streams.
Android
Intended to be used as a plugin for a Unity 3D project.
Have you tried libVLC?
You can also use my pre-built binaries from Bintray:
armeabi-v7a
x86
I have developed a custom decoder as part of my final project. My decoder accepts .steve files now I want to integrate my decoder with android framework.
I have researched a lot in this matter and one of the useful links I found is here.
Android: How to integrate a decoder to multimedia framework
The problem I am facing is I don't want compile a whole android source code to integrate a my decoder.
I want to create an app with .apk file which can recognize .steve files and play the video. So that anyone who wants to my test my app can directly install my apk in there phone rather than to compile the source code and then apk can be easily distributed in my grad school to test my decoder.
You cannot integrate custom codec to whole multimedia layer by just installing apk. To do so you have to recompile your own modified firmware. Which is complicated and not applicable for production (you cannot force everybody to install your Android OS version).
But you can develop your own multimedia player which will contain custom codec support (like MXPlayer app or any other). And then in manifest of your app you can mark support of this custom format (.steve), so Android will knew this app can handle this format.
All I want is to put some video to my server and play it in my application. I tried many of 3rd party applications to change video encoding. None of them works. Please, any ideas?
Had you tried FFMPEG library? you can use this library with android ndk for your application. try FFMPEG on Android, ffmpeg for a android (using tutorial: “ffmpeg and Android.mk”) and How to Build Android Applications Based on FFmpeg by An Example
For build ffmpeg How to Build FFmpeg for Android.
The only solution I found is using two software:
First convert video to mp4 using Sothink by selecting Mobile Phone Encoding.
Then use MP4Box console application with -hint.
Currently we are developing an Android application for streaming. We are looking for an alternative library, because the VLC library isn't finished yet. We currently used the Vitamio library, but it works a little buggy.
Doesn't play MMS immediately
Some HTTP Stream will not start
Can't edit the controls
Are there any other third party libraries who cover the following streams: HTTP Live streaming (apple), RTSP and MMS. And also are better documented? Thanks in advance.
Also GStreamer provides a version for android (arm processor).
Here you can find the libraries http://gstreamer.freedesktop.org/data/pkg/android/1.0.7/
You can look at wrapping the FFMPEG library and using it.