<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Sebastian,<br>
Thanks for helping here.<br>
With this pipline, I was testing my syntax on the pipline. <br>
Here, a pipeline without failure. Special the part for
sprop-parameter-sets<br>
was hard to find out.<br>
<i>data->pipeline = gst_parse_launch("udpsrc port=4000
caps=\"application/x-rtp, media=(string)video,
clock-rate=(int)90000, encoding-name=(string)H264,
sprop-parameter-sets=(string)\\\"Z0KAHukBQHpCAAAH0AAB1MAI\\\\=\\\\=\\\\,aM48gA\\\\=\\\"
\" ! rtph264depay ! avdec_h264 ! decodebin ! autovideosink",
&error);</i><i><br>
</i><br>
Now this pipeline is parsed without any syntax failure message :-)<br>
If I have the original pipeline<br>
<i>data->pipeline = gst_parse_launch("playbin", &error);</i><br>
everything is working.<br>
after changing to "my" pipeline, and starting the app, I get <br>
<i>gst_video_overlay_set_window_handle: assertion
`GST_IS_VIDEO_OVERLAY (overlay)' failed</i><br>
With the latest patch <br>
<br>
- gst_x_overlay_set_window_handle (GST_X_OVERLAY
(data->pipeline), (guintptr)data->native_window);<br>
+ gst_video_overlay_set_window_handle (GST_VIDEO_OVERLAY
(data->pipeline), (guintptr)data->native_window);<br>
<br>
We changed from GST_X_OVERLAY to GST_VIDEO_OVERLAY, but again, the
default pipeline is running, so I think, this will not be the
problem.<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Am 30.09.2013 13:36, schrieb Sebastian
Dröge:<br>
</div>
<blockquote cite="mid:1380541011.2624.21.camel@thor.lan" type="cite">
<pre wrap="">On Mo, 2013-09-30 at 13:16 +0200, Peter Hafner wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap="">
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"
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-android mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a>
</pre>
</blockquote>
<br>
</body>
</html>