I have been following [1] and [2] to check whether I can play an avi file using gstreamer + Openmax with DSP acceleration.
I have been using my own cooked up makefiles for building each of the gstreamer dep packages. For each packages I looked up the options from OE meta data. And by trial and error, i resolved each of the unwanted dependencies.
Setting pipeline to PAUSED …
OMX-Component not found with current ST static component loader.
ERROR: Pipeline doesn’t want to pause.
Setting pipeline to NULL …
FREEING pipeline …
Any one else came across this problem ?
I would like to know one more thing. [2] specifies to use libomxil-ti but does not mention anything about libomxil-bellagio. Do we really need that ? I build it anyway to the rootfs.
I am not running that set of software, so this is just a guess based
on the output. It sounds like gst-launch cannot find/load a library
it needs to load. Where did you install or build the libraries that
do the decoding? Did you set LD_LIBRARY_PATH or any paths that gst-
launch uses to find loadable libraries? Is there anything about
setting up load paths in the instructions or manual for gst-launch?
I have been following [1] and [2] to check whether I can play an avi file
using gstreamer + Openmax with DSP acceleration.
I have been using my own cooked up makefiles for building each of the
gstreamer dep packages. For each packages I looked up the options from OE
meta data. And by trial and error, i resolved each of the unwanted
dependencies.
Setting pipeline to PAUSED ...
OMX-Component not found with current ST static component loader.
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
FREEING pipeline ...
Any one else came across this problem ?
I would like to know one more thing. [2] specifies to use libomxil-ti but
does not mention anything about libomxil-bellagio. Do we really need that ?
I build it anyway to the rootfs.
By default gst-openmax is using libomxil-bellagio, you can check that
by running:
gst-inspec-0.10 omx_mpeg4dec
You can specify which omx library to use at run-tine:
omx_mpeg4dec library-name="libOMX_Core.so" component-name="OMX.TI.Video.Decoder"
Or you can use the "omap" branch in gst-openmax's github, which has
the right default values for TI's omx.
By default gst-openmax is using libomxil-bellagio, you can check that
by running:
gst-inspec-0.10 omx_mpeg4dec
You can specify which omx library to use at run-tine:
omx_mpeg4dec library-name=“libOMX_Core.so” component-name=“OMX.TI.Video.Decoder”
I will try this.
Or you can use the “omap” branch in gst-openmax’s github, which has
the right default values for TI’s omx.
Btw, gst-openmax in your github [1] did not work for me. Since CVS folder is missing, it did not download the “common” module into it. Instead I tried the [2]. It downloads the “common” module using git.
I forgot to mention that on the howto =/
If I can get it working, I can contribute complete Howto on building the entire stack(gstreamer + openmax + dsp) using a single makefile to your wiki page.
By default gst-openmax is using libomxil-bellagio, you can check that
by running:
gst-inspec-0.10 omx_mpeg4dec
You can specify which omx library to use at run-tine:
omx_mpeg4dec library-name="libOMX_Core.so"
component-name="OMX.TI.Video.Decoder"
I will try this.
Or you can use the "omap" branch in gst-openmax's github, which has
the right default values for TI's omx.
Btw, gst-openmax in your github [1] did not work for me. Since CVS folder
is missing, it did not download the "common" module into it. Instead I tried
the [2]. It downloads the "common" module using git.
If I can get it working, I can contribute complete Howto on building the
entire stack(gstreamer + openmax + dsp) using a single makefile to your
wiki page.
Great! But the instructions to do it manually should be there too.
I am trying to use DSP with Gsteamer and OpenMAX. I am following the
steps given in elinux wiki [1] & [2].
Now i want to compile gst-openmax plug-in using codesourcery arm-gnu
tool chain. I downloaded package from git sever using git clone but
after "./autogen.sh --noconfigure" command i got error "There is
something wrong with your source tree.
You are missing common/gst-autogen.sh". So i downloaded the same tar
package from [3] and followed these steps
"configure: Package gstreamer-0.10 was not found in the pkg-config
search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
configure: error: no gstreamer-0.10 >= 0.10.0 (GStreamer) found"
I am assuming that you have cross compiled gstreamer prior to performing these steps. While you were at it , was “/usr/local/” the installation prefix ?
Since your PKG_CONFIG_PATH was “/usr/loca/lib/pkgconfig” it looks like that /usr/local is not the place where you have installed gstreamer.
But if it is the place where you have installed gstreamer then try configuring gst-openmax like this :
cd gst-openmax
./configure CC=arm-linux-gcc --prefix=/usr/local --host=arm-linux PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
make
make install
But I would STRONGLY RECOMMEND that you give a different installation prefix than /usr/local while cross compiling packages
Thanks Jesslyn for your reply,
Actually i am using the gstreamer binaries given by filipe at [1]. So i took those binaries and placed at /opt in my target root filesystem. Now i am following wiki [2] to cross compile the gst-openmax plugin. can i use those binaries and do this step??.I think i gave my host machine’s /usr/local path for installation. I am little confused, could you please give me steps with right path to install in target root filesystem(/media/LABEL2) using codesourcery arm-gnu tool chain instead of scratchbox.
Thanks Jesslyn for your reply,
Actually i am using the gstreamer binaries given by filipe at [1]. So i took those binaries and placed at /opt in my target root filesystem. Now i am following wiki [2] to cross compile the gst-openmax plugin. can i use those binaries and do this step??.I think i gave my host machine’s /usr/local path for installation. I am little confused, could you please give me steps with right path to install in target root filesystem(/media/LABEL2) using codesourcery arm-gnu tool chain instead of scratchbox.
Compilation without scratchbox is a little more complicated and no,
you can't use the binaries I provided for development, you would need
at least the headers.
I am using 3430 ldp. I extracted the tiopenmax 0.3.5 binaries and put them into lib/dsp/ folder and I was able to ping . I followed http://elinux.org/BeagleBoard/gst-openmax
to setup gstreamer . After building libomxil-ti and gst-openmax I tried to play a video