=?utf-8?Q?=E5=9B=9E=E5=A4=8D=EF=BC=9A_?=How to use the "gst-omx" plugin in Android ?
jojo
rjiejie at gmail.com
Sun Aug 25 21:33:58 PDT 2013
Hi,
My configuration of OpenMax of IMX6Q-SDB is :
[omxmjpegdec]
type-name=GstOMXMJPEGDec
core-name=/system/lib/lib_omx_core_v2_arm11_elinux.so
component-name=OMX.Freescale.std.video_decoder.mjpeg.hw-based
rank=266
in-port-index=-1
out-port-index=-1
hacks=no-component-role
[omxh264dec]
type-name=GstOMXH264Dec
core-name=/system/lib/lib_omx_core_v2_arm11_elinux.so
component-name=OMX.Freescale.std.video_decoder.avc.v3.hw-based
rank=266
in-port-index=-1
out-port-index=-1
hacks=no-component-role
My pipe line is :
video pipeline: appsrc is-live=1 do-timestamp=1 caps="image/jpeg, width=798, height=332" name="appsrc" ! decodebin ! queue ! videoconvert ! appsink caps="video/x-raw, format = (string) BGRx, width = (int) [ 1, max ], height = (int) [ 1, max ], framerate = (fraction) [ 0, max ]" name="appsink"
if i use "jpegdec" feature of plugin, it's ok.
I register "get-omx" plugin success and looks like loaded by my pipe line,
but i can not get raw data from appsink if i use "omxmjpegdec", i do not really know about detail of the plugin "gst-omx", much of debug info as below,
http://www.mediafire.com/download/gd9xn3qpzwxyx2m/log_gst-omx.txt
http://www.mediafire.com/view/gd9xn3qpzwxyx2m/log_gst-omx.txt
could you spend some time to analyze the debug information ?
what's wrong about for the get-omx plugin ?
Thanks,
- Jojo
在 2013年8月22日星期四,上午10:35,jojo 写道:
> Hi,
> Ok, i build it success :)
>
> but "configure: WARNING: unrecognized options: --enable-static-plugins" in version v1.0 of "gst-omx"
>
> i replace "--enable-static-plugins" to "GST_PLUGINS_BASE_CFLAGS="-DGST_PLUGIN_BUILD_STATIC" & build it ok as the static plugin,
>
> Thanks,
>
> - Jojo
>
>
> 在 2013年8月21日星期三,下午9:27,Sebastian Dröge 写道:
>
> > On Mi, 2013-08-21 at 16:33 +0800, jojo wrote:
> > > Hi,
> > > Ok & thanks,
> > >
> > >
> > > i have build "gst-omx" as the static libs (libgstomx.a),
> > >
> > >
> > > how to use this plugin in my application ?
> > >
> > >
> > > use the "gst_plugin_register_static" interface to register plugin as a
> > > static plugin simply ?
> > >
> >
> >
> > Build it with --enable-static-plugins, link to it and call
> > gst_omx_register().
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130826/d99bcbd6/attachment.html>
More information about the gstreamer-android
mailing list