Questions tagged [stagefright]

Stagefright is the android media framework. Use this tag for questions specific to stagefright framework. Also add android tag.

Stagefright is the android media framework. It replaced earlier opencore framework.

Use this tag for questions specific to stagefright framework. Also add tag.

154 questions
5
votes
2 answers

MediaPlayer Framework on GingerBread and Apple's HTTP Live Streaming Support

According to the release notes, StageFright replaces the OpenCore framework in the GingerBread release. It seems that there have been numerous discussion that says: Apple's HTTP Live streaming is supported by default since Android 2.3. Even the…
Samuh
  • 35,513
  • 26
  • 104
  • 116
5
votes
1 answer

Android hardware accelerated video decoder for H264 stream

I am developing an Android hardware accelerated video decoder for decoding real time H264 Annex B stream. After a bit research, it seems I need to get my hands dirty to do this. I came over several keywords like OMXCodec, Android's OS stagefright…
Kaidul
  • 14,015
  • 11
  • 68
  • 139
5
votes
0 answers

Integrating a Codec to Android multimedia framework

I have a custom codec, which is currently not supported by the android multimedia framework. Using the codec's source code i have created a simple video player app for the new format. However now i would like to integrate it to androids multimedia…
5
votes
1 answer

Custom Wrapper Codec Integration into Android

I need to develop a custom 'wrapper' video codec and integrate it into android (JB for now, ICS later). We want to use some custom decryption keys from the SIM (don't ask!). The best method (that would allow it to work alongside other…
Matthew
  • 433
  • 1
  • 6
  • 15
5
votes
2 answers

Stagefright vs Gstreamer

What are the advantages of using gstreamer over stagefright? Could anyone please point out the difference.
Ruchi
  • 439
  • 2
  • 7
  • 15
5
votes
1 answer

To use HW decoder in android through libstagefright, what to set for kKeyAVCC in meta data for frame base decoding instead of MP4 playback?

I have been trying to use libstagefright to decode h264 compressed frames. I don't have MP4 file, instead I want to decode frame by frame. I have been exploring the sample from a link. This sample uses ffmpeg to parse mp4 file. and using ffmpeg's…
sam18
  • 631
  • 10
  • 24
5
votes
1 answer

Detect supported audio encoders on Android to prevent crash "The given audio encoder 2 is not found"

When an Android device does not support a mandatory audio-encoder, you get: (X=numeric index of the encoder) E/MediaProfiles(4048): The given audio encoder X is not found A/AudioSource(4048): frameworks/base/media/libstagefright/AudioSource.cpp:58…
Marcus Wolschon
  • 2,402
  • 1
  • 20
  • 27
4
votes
0 answers

H264 HW Decoding on Android Using FFmpeg-10

I've noticed that ffmpeg has already included (libavcodec/libstagefright.cpp) and claimed to support H264's hardware decoding through StageFright framework. I've build the shared library according to (tools/build_libstagefright). But when doing real…
limitfan
  • 856
  • 1
  • 8
  • 20
4
votes
1 answer

Decoding and Rendering Video on Android

What I need to do is to decode video frames and render the frames on a trapezoidal surface. I'm using Android 2.2 as my development platform I'm not using the mediaplayer service since I need access to the decoded frames. Here's what I have so…
4
votes
0 answers

Proxy streaming in Stagefright does not work on some devices

I'm working on a mp3 streaming app and have used the NPR's StreamProxy class. For some devices which have SDK 8 (like EVO on Sprint) the native mediaplayer streaming of mp3 sounds really really bad. The same code works perfectly fine on HTC…
HariKJ
  • 325
  • 3
  • 16
4
votes
1 answer

Fuzzing shared libraries using libfuzzer

The fuzzing process using libfuzzer continues indefinitely until a bug is found. Is there a flag or an option in libfuzzer to mutate and continue fuzzing even after discovering a bug ?
4
votes
1 answer

Android MediaCodec unable to decode wma files

I have managed to decode MP3 files using MediaCodec. But failing at decoding wmafiles of mime type = x/ms-wma. The code works as expected for MP3 files, and i see MP3Extractor is instantiated in…
nmxprime
  • 1,386
  • 2
  • 18
  • 52
4
votes
1 answer

Surface Recording: Color Format Issues

I am currently trying to record a Surface through the command line screenrecord utility. As per the implementation, the framework sets the color format of the video encoder component as OMX_COLOR_FormatAndroidOpaque. Hence, the video encoder is…
4
votes
1 answer

How to invoke my custom decoder in android source code

I am trying to add my software HEVC decoder to android source code. I wish to generate the libstagefright.so file. I have referred to other similar questions and were not of much help for me. I was not able to get a clear picture with the following…
4
votes
1 answer

How to build the .s (asm) file in Android.mk file

I am integrating custom codec to libstagefright in android source code. I completed successfully whatever explained by Custom Wrapper Codec Integration into Android but I found problem like I have .s file in my custom codec. I am following the…
1
2
3
10 11