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
3
votes
0 answers

OpenMAX DL (development layer) support in android

Is it possible to use OpenMAX DL library in android? AFAIK android 2.2 uses OpenCore that probably doesn't implement this part of OpenMAX standard. Few months ago VisualOn joined OHA and their VOME fully implements OpenMAX. Does anyone know if VOME…
Patrick
  • 31
  • 3
3
votes
0 answers

OpenMax android

There is example in NDK latest releases calling native-media. There are two examples of video rendering by standard android media player and using native lib of OpenMax AL . From Android API14 , is referenced that android automatically uses hardware…
support_ms
  • 1,873
  • 1
  • 18
  • 33
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
2 answers

Android: MPEG4Writer fails to start when using OMXCodec as MediaSource

I'm trying to encode a video from a byte array buffer and to do so I'm using MPEG4Writer API from native code. I have created my custom MediaSource class to provide the data and I'm wrapping it with OMXCodec to give it to…
dmarcato
  • 872
  • 8
  • 16
3
votes
0 answers

Playing mp4 files using openmax AL framework

How to play mp4 files using openmax AL framework ans android buffer queue? I suppose android buffer queue only fed .ts data Here is the code: XADataLocator_AndroidBufferQueue loc_abq = { XA_DATALOCATOR_ANDROIDBUFFERQUEUE, NB_BUFFERS }; …
jagruti
  • 31
  • 1
3
votes
0 answers

Tunneling OpenMax for video decode to video encode component

Has any one know how to set up tunnel with video_decode and video_encode OpenMax component on Raspberry Pi ? And how correctly setup properties for input and output ports ?…
Oleksandr Kyrpa
  • 638
  • 10
  • 17
3
votes
0 answers

Bench marking ARM NEON OpenMAx Numbers

I am currently working on bench marking the performance of Cortex-A8 processor by using various compilers(tried DS-5 and IAR) and various libraries (Openmax,NE10). I am specifically working on to see what NEON unit can achieve when compared 1.Only…
Aurum
  • 77
  • 12
3
votes
1 answer

Can OpenMAX for Android NDK be used for streaming live video/audio to a server? Example?

OpenMax has a concept called "Data Sink". Specification says about them: Its data locator which identifies where the data resides. Possible locators include: • URIs (such as a filename) • Memory addresses • I/O devices • Output Mixes •…
Paul Kapustin
  • 3,297
  • 5
  • 35
  • 45
2
votes
1 answer

"Internal data stream error." when using omxh264enc in gstreamer

I am currently trying to convert a live feed from a Raspberry Pi camera to H264 and store it as a mp4 video using gstreamer. Since I am using a Raspberry Pi 1, I need to use the hardware accelerated video encoding as otherwise the encoder cannot…
Homan
  • 165
  • 6
2
votes
1 answer

Gstreamer videoconvert color conversion wrong?

I'm launching a gst-launch-1.0 that captures camera images with nvgstcamera. The images are encoded to VP9 video. The video is tee'd to a filesink that saves the video in a webm container and to a VP9 decoder that pipes the images into an…
Laurenz
  • 1,810
  • 12
  • 25
2
votes
0 answers

Streaming H.264 over RTP (Raspberry Pi)

I need help using the RTP protocol for streaming H.264 video. I have a Raspberry PI(B+) and a camera module. The Raspberry PI has a hardware encoder for H.264. However, the player can't play RTP streams: the video have a delay and the picture is…
batchar
  • 21
  • 2
2
votes
1 answer

Android: Creating an OMX component for a video decoder

I have a new task of integrating a decoder(HEVC) from FFMPEG to Android's Stagefright. To do this, i first need to created an OMX component, My next thing is to register my codec in media_codecs.xml and then the OMX component registration in…
Zax
  • 2,870
  • 7
  • 52
  • 76
2
votes
0 answers

OpenMAX recorder on Android

I am trying to record my video buffer from memory to flash in h.264 format and am using this code to initialize the recorder. What format should I use for dataSrc? XADataLocator_URI locUri; locUri.locatorType = XA_DATALOCATOR_URI; …
2
votes
1 answer

How to register a OMX core for adding a new decoder

I'm referring to the post: Android: How to integrate a decoder to multimedia framework Following it i have registered my new decoder (Which is currently not supported by Android) in media_codecs.xml. The Step 2 of the above post requires me to…
sam
  • 289
  • 5
  • 16
2
votes
0 answers

Tegra3 -- High latency with hardware decoding

Hardware:Nexus 7 OS Version: Android 4.1.2 Problem: I use OpenMAX IL to decode H.264 video stream(640x480). Between I give a raw H.264 frame and I receive a YUV frame, it is about 2~4 seconds. The YUV frame is correct. Question: Is it really need…
Du J.Nan
  • 31
  • 3