Android gst_parse_launch using

Sebastian Dröge slomo at circular-chaos.org
Mon Sep 30 04:36:51 PDT 2013


On Mo, 2013-09-30 at 13:16 +0200, Peter Hafner wrote:
> I have patched the Tutorial 5 with your patch.
> Also updated the mk-file.
> 
> I put the $(GSTREAMER_PLUGINS_CODECS_RESTRICTED) to the
> GSTREAMER_PLUGINS variable.
> After building the binary,
> I get this kind of messages for different files.
> 
> /android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold.exe: warning: cannot scan executable section 26 of 
> 
> 
> Now I try the pipeline 
> data->pipeline = gst_parse_launch("udpsrc port=4000 caps=
> \"application/x-rtp, media=(string)video, clock-rate=(int)90000,
> encoding-name=(string)H264\" ! rtph264depay ! ffdec_h264 ! playbin",
> &error);
> But the failure 
> "no element "ffdec_h264" still exists.
> 
> I' using the android-ndk-r9.

In 1.0 and newer the element is called avdec_h264. However your pipeline
is wrong in general, you can't use playbin that way.

Try this one for example, you'll need to set a valid EGLNativeWindow on
the videosink though:

"udpsrc port=4000 caps=\"application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264\" ! rtph264depay ! avdec_h264 ! queue ! videoconvert ! autovideosink"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130930/53994c14/attachment.pgp>


More information about the gstreamer-android mailing list