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.

153 questions
4
votes
1 answer

Creating OMXCodec encoder in HW mode

I'm trying to implement HW-accelrated H264 video encoding on Android ICS 4.0.4. Since MediaCodec class is not available I have to use stagefright API. But when I put HardwareCodecsOnly flag, OMXCodec::Create always returns NULL. If I call…
4
votes
1 answer

Create a demultiplexer for MPEG 2 TS in android

I have a requirement where I need to extract ID3 tags from a MPEG2 TS(HLS STREAM). MPEG2 has a limited support in android in regards to playing the file. But my concern is to extract the ID3 tags(playing the file is not necessary). Hence I am not…
anz
  • 1,317
  • 2
  • 13
  • 25
4
votes
3 answers

Native window queueBuffer function not rendering output from Stagefright decoder

I'm passing a SurfaceView surface from Java to JNI where I obtain the native window from that surface. Stagefright decodes h264 frames from an mp4 file. During the decoding process I call ANativeWindow::queueBuffer() in order to send decoded frames…
mathieujofis
  • 349
  • 3
  • 16
4
votes
1 answer

How to create a stagefright plugin

I have a task which involves integration of a video decoder into Stagefright(Android's multimedia framework). I searched and found the following about creating a new plugin for Stagefright: To add support for a new format, you need to: Develop a…
Zax
  • 2,870
  • 7
  • 52
  • 76
4
votes
5 answers

How to use Stagefright in Android?

I want to play .ts video file in my application.I am not getting any way do it. I doubt it whether it is possible to do it or not in Android. I have heard about Stagefright framework.So please tell me how I can use Stagefright in my application &…
Arun Badole
  • 10,977
  • 19
  • 67
  • 96
3
votes
2 answers

Android Stagefright unable to set video frame rate

I have an application streaming video from the device to a remote computer. When trying to set the frame rate I keep getting: ERROR/StagefrightRecorder(131): Failed to set frame rate to 15 fps. The actual frame rate is 30 The code I use is: video =…
Johnny
  • 7,073
  • 9
  • 46
  • 72
3
votes
0 answers

Audio/Video Recording and Rendering Using StageFright

I am trying to develop video telephony application on Android. Hence I want to capture and render both the audio and video. After some investigation, i think using the StageFright to this task, is better than using OpenMAX as it provides more…
jairam
  • 31
  • 3
3
votes
2 answers

How do I use Stagefright from the command line?

How do I use Stagefright from the command line? Is it possible?
user873031
  • 31
  • 1
  • 3
3
votes
1 answer

Android StageFright Audio Loop Issue

I am having a big issue with recent updates to the android OS (specifically 3.2 on the Xoom) where using MediaPlayer.setLooping(true); will no longer loop a wav or ogg file with a gap in between loops. I have an application that requires a…
csyperski
  • 992
  • 3
  • 15
  • 33
3
votes
0 answers

How to register alac decoder to multimedia framework?

Inside mp4 extractor we added support to parse ALAC encoded frames. Added SoftOMXComponent for ALAC decoder Following files we modified for decoder MIME type registration: OMXUtils.cpp inside function GetComponentRole() added below code: static…
Anand
  • 31
  • 1
3
votes
0 answers

How to determine what is causing Android / LibStageFright to fail on freeBuffer?

I am running into an issue in my Android app where Galaxy Note 4, Galaxy Edge, and some other devices crash when trying to play H.264 video streamed from a server. I'm fairly certain that the H.264 video is correct, as the same video works using…
user1532208
  • 305
  • 1
  • 4
  • 13
3
votes
1 answer

Secure Playback: Crash observed in MediaCodec

I am working on enabling secure playback on Lollipop. I am using ExoPlayer to validate the usecase. I am able to create a secure OMX video decoder component(H264.secure). However, after the creation, I am facing a crash in MediaCodec as shown…
3
votes
1 answer

Hardware accelerated video decode for H.264 in android prior to Jelly Bean

I am working on a video conferencing project. We were using software codec for encode and decode of video frames which will do fine for lower resolutions( up to 320p). We have planned to support our application for higher resolutions also up to…
3
votes
1 answer

Integrate a custom decoder to play on android and display fps at the same time

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:…
3
votes
1 answer

Add libstagefright in my Android NDK Application

I made some changes in AOSP code and compiled it. Now i want to Add created libstagefright.so in my Applicaton. In Android.mk i'm adding as LOCAL_SRC_FILES compiled libstagefright.so library with path. Here is it` LOCAL_PATH := $(call my-dir) …
Arsen Davtyan
  • 1,891
  • 8
  • 23
  • 40
1 2
3
10 11