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
1
vote
1 answer

Stagefright: OMX Subsystem in Stagefright and OMX Core are running in which process context

I am facing some issues with Stagefright command line utility where I am unable to understand if the OMX subsystem (OMX, OMXMaster) in Stagefright and OMX core are running in the current application's process or different process. Which part of the…
stackuser
  • 629
  • 8
  • 19
1
vote
1 answer

[Android]Why can we still use setOutputFile(String path) of MediaRecorder?

I am trying to extract the muxer part of MediaRecorder, so I am learning the source code of Android 4.2.2 now, anyway, that is not important. I have a questions here. It's about setOutputFile(String path) of MediaRecorder.java. The call consequence…
Brendon Tsai
  • 1,267
  • 1
  • 17
  • 31
1
vote
2 answers

How to encode camera frames into mp4 on android

I take camera preview frames from android camera in 640x480 (sufficient to me) and do some modifications over them. But now I need to encode those to new MP4 file (with audio). Is this some how possible? I can't use ffmpeg due to its not so good…
bakua
  • 13,704
  • 7
  • 43
  • 62
1
vote
1 answer

Difference of OpenCore and Stagefright

MY Understanding: 1) OpenCore / Stagefright both are multimedia frameworks in Android. 2) OpenCore was replaced with Stagefright. What i do not understand? Where can i find information like which version supports which media framework? For…
Whoami
  • 13,930
  • 19
  • 84
  • 140
1
vote
0 answers

Does Android MediaCodec uses hardware codec?

I am confused with what codec is used by Android MediaCodec ? From the below link: https://vec.io/tags/ffmpeg I could sense that, MediaCodec is used for hardware encoding. But then, when I look at "New Low-Level Media APIs in Android"…
Whoami
  • 13,930
  • 19
  • 84
  • 140
1
vote
2 answers

android crash on eglDestroyImageKHR using GraphicBuffer

I'm copying data to the GraphicBuffer using the following code: uint8_t *ptr; sp gBuffer = new GraphicBuffer(width,height,format,usage); gBuffer->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&ptr)); //Copy…
1
vote
0 answers

QOMX_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka converter

I need to handle YUV data from H/W decoding output on Android. Actually, I'm using Nexus4 and the decoding output format is QOMX_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka type. But I need YUV420 Planar format data, it need to be…
1
vote
3 answers

How to dump YUV from OMXCodec decoding output

I'd like to dump YUV data from OMXCodec decoding output. It's MediaBuffer type. It's impossible to access data() pointer. If I try to access data, crash happens due to the check code below. frameworks/av/media/libstagefright/MediaBuffer.cpp:119…
1
vote
1 answer

How to install stagefright on my android?

I hear about this sound program that supposedly comes with Android called "stagefright" that is needed in order to play audio files from the command-line of a terminal emulator. One source from which I heard of it is here: How do I use Stagefright…
Sophia_ES
  • 1,193
  • 3
  • 12
  • 22
1
vote
1 answer

Integrating a video codec into gstreamer or vlc

I have an C-Code for a video codec. It takes in a compressed format as an input and give out a YUV data buffer. As a standalone application i'm able to render the YUV generated using OpenGL. Note: This codec is currently not supported by…
Zax
  • 2,870
  • 7
  • 52
  • 76
1
vote
2 answers

How does Bravia Engine get called on AOSP?

I found the AOSP source code from Google and also retrieved vendor's info from https://github.com/sonyxperiadev/device-sony-sgp321 Sony added its Bravia Engine library to AOSP to improve image and…
mopodafordeya
  • 635
  • 1
  • 9
  • 26
1
vote
1 answer

Why would HLS stream distort in Stagefright 1.2 when ts files change?

I've set up Apache 2.0 with several .m3u8 files serving a set of mpeg2ts files over HLS. These ts files were produced with libavformat by transmuxing an MP4 I downloaded from youtube. When I play the resulting HLS on VLC or QT, everything works…
Fixee
  • 1,581
  • 2
  • 15
  • 25
1
vote
0 answers

select output colospace in ffmpeg's stagefright codec

I'm new here so first of all, i'd like to say that this is an awesome comunity :-). Well, let's start with my question. Currently, I'm working with an embbeded systems (freescale imx6 and exynos 4412 based processors). The main idea is to develop a…
1
vote
1 answer

RTP-Server in Android 4.0 and above

Working on Android 4.0+ above. I am in process of analyzing ways to live stream my camera video to Window PC using RTP , encoding MPEG-2. Is there readily available "rtp-server" in android 4.0+ ? Is following true:: "The Android platform lacks…
Rohit
  • 6,941
  • 17
  • 58
  • 102
1
vote
1 answer

Replace the /system/lib/libstagefright.so in Android and can't boot

I complied the libstagefright using the Android 2.3.3_r1 source code and generated the libstagefright.so file. Then I replaced the /system/lib/libstagefright.so in my phone(HTC g14 android 2.3.x) with it. But my phone can't reboot after that(stuck…
Jian Huang
  • 13
  • 1
  • 4