Unable to build pipeline error.

AHMET FURKAN AKSOY ahmet.aksoy2 at ogr.sakarya.edu.tr
Sun Apr 29 16:34:52 UTC 2018


I added GSTREAMER_PLUGINS_CODECS_RESTRICTED and now ı get a new error:
04-29 18:13:15.502 31430-31460/com.gst_sdk_tutorials.tutorial_5 I/KERNEL:
[156346.379106] gstglcontext[31460]: segfault at 280 ip 00000000e766f574 sp
00000000d7dd13f0 error 4
04-29 18:13:15.502 31430-31460/com.gst_sdk_tutorials.tutorial_5 I/KERNEL:
in libGLESv2_POWERVR_ROGUE.so[e7639000+16a000]

I get this error when ı use default pipeline(playbin) and also a buffering
error on the phone. When I use my custom pipeline I get:
04-29 18:30:17.180 568-641/com.gst_sdk_tutorials.tutorial_5
W/GLib+GLib-GObject: g_object_get_valist: object class 'GstPipeline' has no
property named 'video-sink'
04-29 18:30:17.565 568-641/com.gst_sdk_tutorials.tutorial_5 I/KERNEL:
[157368.311897] traps: Thread-5452[641] general protection ip:dd6a8399
sp:eeb7f070 error:0
04-29 18:30:17.565 568-641/com.gst_sdk_tutorials.tutorial_5 I/KERNEL:  in
libgstreamer_android.so[db9cd000+2b5f000]

My custom pipeline is "udpsrc multicast-group=224.1.1.1 auto-multicast=true
port=9000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay
! avdec_h264 ! videoconvert ! autovideosink"





2018-04-29 10:33 GMT+03:00 Sebastian Dröge <sebastian at centricular.com>:

> On Sat, 2018-04-28 at 19:26 +0300, AHMET FURKAN AKSOY wrote:
> > I am trying to run GStreamer android example 5. It compiles and runs
> > but instead of transferring video I am getting an error on the
> > screen.
> >
> > Unable to build pipeline: no element "avdec_h264"
> >
> > How can I solve this.
>
> You need to add the libav plugin to your build, by adding it to the
> GSTREAMER_PLUGINS variable in jni/Android.mk
>
> Either by adding libav specifically, or
> $(GSTREAMER_PLUGINS_CODECS_RESTRICTED) which also comes with other
> plugins.
>
> --
> Sebastian Dröge, Centricular Ltd · https://www.centricular.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180429/e7eab2d0/attachment.html>


More information about the gstreamer-devel mailing list