Android gstreamer help

Lee Matthews lma at spaceapplications.com
Fri Apr 11 06:12:22 PDT 2014


Hi,

I'm trying to create a gstreamer application that will run on an Android tablet computer.

I create a pipeline that contains the following elements using C code : v4l2src, jpegenc, multipartmux, tcpclientsink 

I have used buildroot to build all the libraries for an ARM platform (including gstreamer). I then copy all the libraries from buildroot
in the output/target/usr/lib and output/target/lib directories to /data/local/tmp/lib on my tablet.

I set the location of my libraries using LD_LIBRARY_PATH=/data/local/tmp/lib:$LD_LIBRARY_PATH

Then, I try executing my compiled gstreamer application with the following command :

./lib/ld-linux.so.3 ./mobipv-video-source

The problem is that when I try creating an element, eg gst_element_factory_make ("jpegenc", "jpeg"), it fails and returns 0.

I also get lots of errors that look like :

GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed

Apart from the libraries, are there any other files that I need to transfer to my Android device ? I'm not sure what I'm doing wrong.

Can anyone help?

Thanks
Lee



More information about the gstreamer-embedded mailing list