Re: Re : Re: Re : Re: Is possible to compile and use gst-omx for Android devices ?

stic at free.fr stic at free.fr
Sat Jan 11 09:20:11 PST 2014


I tried to change version, change how GST_OMX_INIT_STRUCT build version number, still have the same error.
Because it is OMX SEC I had to change all calls of module functions in gst_omx_core_acquire (as they are all prefixed with SEC_OMX I replaced OMX_Init by SEC_OMX_Init for example), then the module is well loaded, codecs are created, but still have the described error.
Do you think there could be other module functions call to rename somewhere else or something related to OMX SEC difference ?

I also tried to use gstomx with another device (nexus 7), so it uses libnvomx.so for nvidia codecs.
module is loaded, codec elements are created, getparameter seems to be called.
But for this one I had other errors when trying to use encoder in a pipeline, I attach the log file to this mail.

Thank you


----- Mail original -----
De: "Sebastian Dröge" <sebastian at centricular.com>
À: "Discussions about GStreamer on Android" <gstreamer-android at lists.freedesktop.org>
Envoyé: Samedi 11 Janvier 2014 11:42:53
Objet: Re: Re : Re: Re : Re: Is	possible to compile and use gst-omx for Android devices ?

On Fr, 2014-01-10 at 23:56 +0100, stic at free.fr wrote:
> ok, I tried to put -1 as value in config to retrieve the port index with omx GetParameter.
> But I now have following error:
> gstomxvideoenc.c:251:gst_omx_video_enc_open:<omxh264enc-omxh264enc1> Couldn't get port information: Version mismatch (0x8000100f)

Try changing gstomx.h to let GST_OMX_INIT_STRUCT() only initialize the
major and minor version, or major, minor and revision but not step.

In general this means that the version gst-omx is using is incompatible
with the one of the OMX Core you're using there. Might be something
stupid like the above, but could also mean that it only supports OMX IL
>= 1.2 and not 1.1.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-android mailing list
gstreamer-android at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log.txt
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140111/c97cbe3e/attachment-0001.txt>


More information about the gstreamer-android mailing list