<div dir="ltr"><div><div>I don't have access to my GStreamer install right now, but I think what might fix both of your problems is adding "payload=127" to the caps for your rtph264depay element. So for the OP's example, this would be:<br>
<br>gst-launch-1.0 udpsrc port=18888 multicast-iface="lo" multicast-group="232.4.130.<div dir="ltr">146" buffer-size=1000000 caps="application/x-rtp,clock-rate=90000,payload=127" do-timestamp=false ! rtph264depay ! decodebin ! autovideosink</div>
<br><br></div>Failing that, putting 96 instead of 127 might work. I think I had the same problem and can't remember if that was what got rtph264depay working for me, but I think it was.<br><br></div>If it still doesn't work, and you have access to the pipeline doing the sending, you can try running gst-launch for that pipeline with the "-v" option. That will let you see that caps that are being used at the sender end, and so you can apply those caps to the receiving end to avoid any capabilities (caps) negotiation issues. </div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 13, 2013 at 3:57 AM, Andrey Nechypurenko <span dir="ltr"><<a href="mailto:andreynech@googlemail.com" target="_blank">andreynech@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> I think you should be using avh264dec or something similar. Check it with<br>
> gst-inspect, just do gst-inspect-1.0 | grep h264, it should appear on that<br>
> list<br>
<br>
</div>If payload is not extracted properly, then it does not matter which<br>
decoder is in use. Also, since OP used decodebin, it should pick the<br>
right decoder.<br>
<br>
I am currently also in process of porting 0.10 application to 1.0 and<br>
also have problems with rtph264depay . The error message from it says<br>
that caps are not set properly (not at my development computer now and<br>
do not remember the exact error message). I am sure that exactly the<br>
same pipeline did work with 0.10, so something is definitely changed<br>
by rtph264depay between 0.10 and 1.0. Not sure however if it is a bug<br>
or 0.10 version was not as strict as 1.0.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>