Questions tagged [openmax]

Questions related to OpenMAX, a royalty-free, cross-platform set of C-language programming interfaces that provides abstractions for routines especially useful for audio, video, and still images. This includes OpenMAX AL, DL and IL layer APIs.

OpenMAX (Open Media Acceleration) is a royalty-free, cross-platform set of C-language programming interfaces that provides abstractions for routines especially useful for audio, video, and still images. It's intended for devices that process large amounts of multimedia data in predictable ways.

OpenMAX provides three layers of interfaces: Application Layer (AL), Integration Layer (IL) and Development Layer (DL). OpenMAX is managed by the non-profit technology consortium Khronos Group.

OpenMAX AL is the interface between multimedia applications, such as a media player, and the platform media framework. It allows companies that develop applications to easily migrate their applications to different platforms (customers) that support the OpenMAX AL API.

OpenMAX IL is the interface between media framework such as DirectShow or GStreamer and a set of multimedia components (such as an audio or video codecs). It allows companies that build platforms (for example an MP3 player) to easily change components like MP3 decoders and Equalizer effects and buy components for their platform from different vendors.

OpenMAX DL is the interface between physical hardware, such as DSP chips and CPUs, and software, like video codecs and 3D engines. It allows companies to easily integrate new hardware that supports OpenMAX DL without reoptimizing their low level software.

More information on OpenMAX at

  1. http://www.khronos.org/openmax/
  2. http://en.wikipedia.org/wiki/OpenMAX
85 questions
29
votes
2 answers

Access camera via OpenMAX in Android

I currently try to figure out how to access the Camera via OpenMAX in Android 4.0. The documentation is not sufficient for me so I currently struggle with how I can retrieve the correct XADataSource for the following…
abergmeier
  • 13,224
  • 13
  • 64
  • 120
24
votes
2 answers

Android MediaCodec AAC encoder

I use the MediaCodec class provided by the Android SDK since API level 16 with the OMX.SEC.aac.enc encoder to encode audio to a file. I get the audio input from the AudioRecord class. My instance of the AudioRecord class is configured like…
user2144883
21
votes
3 answers

GPU deinterlacing

I have an application that does video processing such as color transforms, scaling and translations using OpenGL. I'm mostly working with BGRA (1xGL_BGRA) or YUVA (4xGL_R) video, i.e. including alpha. Now I would also like to do some high quality…
ronag
  • 49,529
  • 25
  • 126
  • 221
17
votes
2 answers

Decode video in Raspberry Pi without using OpenMAX?

I am looking for an example of decoding video on Raspberry Pi directly, without using OpenMAX. This explains the different layers of multimedia software: There is an additional layer which is not shown in here, the "MMAL" layer which is (I…
Alex I
  • 19,689
  • 9
  • 86
  • 158
9
votes
0 answers

How to debug MediaCodec errors starting from OMX logcat messages?

Using MediaCodec, many times error messages come from OMX layer. How can one use them to help debug not so trivial issues? For example, I have an application which sometimes fails to create a codec for decoding an h264 stream. It seems to happen…
user1592546
  • 1,480
  • 1
  • 14
  • 30
7
votes
1 answer

How MediaCodec finds the codec inside the framework in Android?

I am trying to understanding how MediaCodec is used for hardware decoding. My knowledge in android internal is very limited. Here is my findings: There is a xml file which represents the codec details in the android system . …
Whoami
  • 13,930
  • 19
  • 84
  • 140
7
votes
2 answers

Gstreamer hangs while generating timelapse from JPEGs on Raspberry pi

Situation: I want to generate a timelapse on my Raspberry Pi 512mb, using the onboard H.264 encoder. Input: +300 JPEG files (2592 x 1944 pixels), example: https://i.stack.imgur.com/3NK8r.jpg Output: h264 video file (2592 x 1944 pixels) GStreamer…
MeProtozoan
  • 1,027
  • 3
  • 14
  • 26
7
votes
1 answer

Replacing the standard Android H264 software encoder with an ffmpeg based one

In Android ICS and later, a new OpenMax IL API version is in use, making old binary blobs useless/unused. This leads to older devices that otherwise run ICS just fine and dandy to have broken video playback (YouTube HQ and IMBD, for example) because…
rubenvb
  • 74,642
  • 33
  • 187
  • 332
6
votes
1 answer

How or where to specify omx decoder supports tunneling

The BSP supports tunneling of Hw accelerated codec. Android uses feature-tunneled-playback to check if tunneling is supported. If yes It will try to configure tunneling. How to implement or specify the android extension…
nmxprime
  • 1,506
  • 3
  • 25
  • 52
6
votes
2 answers

Developing H264 hardware decoder Android - Stagefright or OpenMax IL?

I am developing H264 H/W accelerated video decoder for android. So far, I've come around with some libraries MediaCodec, Stagefright, OpenMax IL, OpenMax AL and FFmpeg. After a bit research, I've found that - I found a great resource of using…
Kaidul
  • 15,409
  • 15
  • 81
  • 150
5
votes
1 answer

OpenMAX and the NDK: Where I can get the surface?

I'm writing an application that shows video. The application is written using the Android NDK and JNI. I want to use OpenMAX. In the OpenMAX example, it retrieves the surface from Java, but where I can get the surface to render? I can get a…
4
votes
1 answer

what difference the gst-omx and gst-openmax?

I use google to search gst-omx and gstopenmax, but I think that the functionality of two plugins seem to be same. I don't understand what is the relationship between gst-omx and gstopenmax. According to their individual documentation: gst-openmax…
zhang007z
  • 115
  • 7
4
votes
1 answer

Gstreamer with gst-omx Raspberry Pi

I compiled the gstreamer with gst-omx following this tutorial: http://www.onepitwopi.com/raspberry-pi/gstreamer-1-2-on-the-raspberry-pi/ Everything went fine and in the end when i ran gst-inspect-1.0 | grep omx I got: omx: omxmpeg2videodec: OpenMAX…
raphaeldavidf
  • 103
  • 1
  • 3
  • 10
4
votes
1 answer

Gstreamer Video Sink for Raspberry Pi

I m working on a Raspberry pi board with gstreamer 1.0 inbstalled. I was testing some pipelines on the board. But in Raspberry pi the video sink is not working. I tried different videosinks such as ximagesink, xvimagesink, autovideosink etc But none…
jithin
  • 637
  • 2
  • 14
  • 26
4
votes
2 answers

Writing an OpenMAX IL component, where to start

I am about to grab the video output of my raspberry pi to pass it to kinda adalight ambient lightning system. The XBMC's player for PI, omxplayer, users OpenMAX API for decoding and other functions. Looking into the code gives the…
Stasik
  • 2,568
  • 1
  • 25
  • 44
1
2 3 4 5 6