diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2009-04-27 01:20:46 +0300 |
---|---|---|
committer | Felipe Contreras <felipe.contreras@gmail.com> | 2009-04-27 01:29:12 +0300 |
commit | 0690ff64e7965931dae23d8520fac70e27457c0e (patch) | |
tree | d4b2e129630239d163f9a6641168e61bb6fb7f25 | |
parent | 6d58c23e8353a1eccc2c955d663423e8e1a3e595 (diff) |
Update READMEv0.10.0.5
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
-rw-r--r-- | README | 160 |
1 files changed, 84 insertions, 76 deletions
@@ -1,125 +1,133 @@ -= GstOpenMAX = - -GstOpenMAX is a GStreamer plug-in that allows communication with OpenMAX IL +'gst-openmax' is a GStreamer plug-in that allows communication with OpenMAX IL components. OpenMAX IL is an industry standard that provides an abstraction layer for computer graphics, video, and sound routines. -You'll need an OpenMAX IL implementation. Luckily STMicroelectronics has -provided an useful sample implementation in the Bellagio project which is Open -Source. +This project is a collaboration between Nokia, NXP, Collabora, +STMicroelectronics, Texas Instruments, and the open source community. + +== What's the status? == -For more information check: -http://freedesktop.org/wiki/GstOpenMAX +Many component wrappers have been developed for different OpenMAX IL +implemenatations. -== Why is it good? == +=== ti (OMAP-3430) === -The easiest way to see OpenMAX IL is to think about OpenGL. both standards are -controlled by the Khronos Group, both standards are open and royalty free. +Hardware-accelerated through DSP. -In a similar way you can think of Bellagio/OpenMAX IL as Mesa/Open GL. They are -not official implementations, but they follow the standard. + * H.264 video encoder/decoder + * H.263 video encoder/decoder + * MPEG4 video encoder/decoder + * WMV video decoder + * JPEG image encoder -There are many Open Source encoders/decoders, but they all have different -API's, so in order to use it you need to learn the API. In fact some projects -as FFmpeg constantly change their API, so it makes things difficult. +=== Maemo === -If you use Bellagio's omxil you don't have to worry about FFmpeg's API changes, -those are wrapped inside a standard API. +Uses bellagio. -The standard has been reviewed by several parties including: Texas Instruments, -ARM, ATI Technologies, Beatnik, Broadcom, Emuzed, Fraunhofer, Freescale, -Infineon, Intel, Motorola, Nokia, NVIDIA, Philips, SKY MobileMedia, Samsung, -Sasken, Siemens, ST Microelectronics, and Symbian. + * MP3 audio decoder + * AAC audio encoder/decoder + * G.711 audio encoder/decoder + * G.719 audio encoder/decoder + * iLBC audio encoder/decoder + * AMR-NB audio encoder/decoder + * AMR-WB audio encoder/decoder -The gst-openmax project is a collaboration between Fluendo, Nokia, -STMicroelectronics, Texas Instruments and the Open Source community. +=== bellagio === -== What's bad? == + * MP3 audio decoder (libmad) + * Vorbis audio decoder + * MPEG4 video decoder (FFmpeg) + * H.263 video decoder (FFmpeg) + * Audio sink (ALSA... not maintained) -Not all of the codecs are defined. For example Vorbis is defined, but not -Theora. Of course it could be added as an extension, but that API wouldn't be -set in stone -== How to build omxil == +We are missing: -Download the source code from: + * OpenMAX IL facilities (tunneling, clock) + +== How to try it == - * http://omxil.sourceforge.net/ +It depends on your platform, but if want to try on x86 you can use Bellagio's +implementation: -Or directly from: +=== omxil === - * http://dl.sourceforge.net/sourceforge/omxil/libomxil-B-0.3.3.tar.gz +So, first install Bellagio's omxil from http://omxil.sourceforge.net/, or +http://downloads.sourceforge.net/omxil/libomxil-bellagio-0.9.1.tar.gz. Version +0.9.1 is recommended. Install as usual: - ./configure --prefix="$HOME/omx" - make - make install + ./configure --prefix="$HOME/omx" + make + make install Register the components: - $HOME/omx/bin/omxregister -v + $HOME/omx/bin/omxregister-bellagio -v You'll get an output like this: - Component OMX.st.volume.component registered - Specific role OMX.st.volume.component registered - Component OMX.st.audio_decoder.ogg.single registered - Specific role OMX.st.audio_decoder.ogg.single registered - Component OMX.st.alsa.alsasink registered - Specific role OMX.st.alsa.alsasink registered - Component OMX.st.audio_filereader registered - Component OMX.st.audio_decoder registered - Specific role OMX.st.audio_decoder.mp3 registered - Specific role OMX.st.audio_decoder.ogg registered - Specific role OMX.st.audio_decoder.aac registered - Component OMX.st.video_decoder registered - Specific role OMX.st.video_decoder.mpeg4 registered - Specific role OMX.st.video_decoder.avc registered - Component OMX.st.video_colorconv.ffmpeg registered - Specific role OMX.st.video_colorconv.ffmpeg registered - Component OMX.st.audio_decoder.mp3.mad registered - Specific role OMX.st.audio_decoder.mp3.mad registered - - 8 OpenMAX IL ST static components with 11 roles succesfully scanned + Scanning directory /home/felipec/omx/lib/bellagio/ -Make sure you have: + Scanning openMAX libary /home/felipec/omx/lib/bellagio/libomxvorbis.so + Component OMX.st.audio_decoder.ogg.single registered + Specific role OMX.st.audio_decoder.ogg.single registered + + 1 OpenMAX IL ST static components with 1 roles succesfully scanned +Make sure you have: * "OMX.st.audio_decoder.mp3.mad" for MP3 decoding * "OMX.st.audio_decoder.ogg.single" for Vorbis decoding * "OMX.st.video_decoder.mpeg4" for MPEG4 video decoding - * "OMX.st.alsa.alsasink" for ALSA sound output -== How to build gst-openmax == +=== omap === -If you are fetching it from CVS: +In order to use gst-openmax on Texas Instruments' OMAP platform you first need +to apply the patches in 'patches/omap'. - ./autogen.sh --noconfigure +=== gst-openmax === -If you want to install it into your home directory: + ./autogen.sh --noconfigure + ./configure --prefix="$HOME/omx" + make install - ./configure --prefix="$HOME/omx" +=== Running === - make +To actually use the plug-in: -Then as root (depending on your prefix): + export GST_PLUGIN_PATH=$HOME/omx/lib/gstreamer-0.10 + export LD_LIBRARY_PATH=$HOME/omx/lib - make install +You'll be able to play audio and video with MP3, Vorbis, MPEG4, H.264, or H.263 +content using Bellagio's components. -== How to try it == - - export GST_PLUGIN_PATH=$HOME/omx/lib/gstreamer-0.10 - export LD_LIBRARY_PATH=$HOME/omx/lib +For MP3 you'll also need the mp3parse element, otherwise you'll get: -You'll be able to play videos with MP3, Vorbis, MPEG-4, H.264 or H.263 content using Bellagio's components. + GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed If you want to see what's happening: - export GST_DEBUG=omx:4 + export GST_DEBUG=omx:4 + +== How to contribute == + +Suscribe to the mailing list, or send a direct e-mail to gstreamer-openmax@lists.sourceforge.net. + * mailing list: https://lists.sourceforge.net/lists/listinfo/gstreamer-openmax + +If you find any issues please fill a bug report: + * http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer&component=gst-openmax + +== Roadmap == + + * Merge tunneling branch + * Documentation + * More unit tests + * First real release -== Links == +== External Links == - * http://omxil.sourceforge.net/ - * http://freedesktop.org/wiki/GstOpenMAX + * OpenMAX's homepage: http://www.khronos.org/openmax/ + * Bellagio's homepage: http://omxil.sourceforge.net/ |