<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><br><br>Thanks Jyoti. What I'm trying to do is this:<br><br>I am using gstreamer to stream h.264 files from a server to a client over RTP. The pipelines I create are:<br><br>Sender:<br>gst-launch-0.10 filesrc location=akiyo.264 ! video/x-h264 ! rtph264pay pt=96 mtu=1024! udpsink host=203.12.12.12 port=42050 sync=false<br>Receiver:<br>gst-launch-0.10 udpsrc port=" +this.port + " ! rtph264depay ! h264parse ! filesink location=rec_akiyo.264<br><br>I encode the sent file using the H.264 reference software with 'Slice mode' enabled and different schemes of slice-structures used. I want that each of the packets should contain one slice of the encoded video. Also, all the slices are not in the raster-scan order and so, packets wont be received to the receiver in the decoding order. The RFC 3984
specifies that I should use STAP-B packets with 'interleaved mode' of RTP enabled when NAL units are out of the decoding order.<br><br><div><em></em></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Now, 'rtph264pay' does not expose any of the properties that could specify to the payloader the NAL unit type (STAP-B) or set the 'interleaved mode' even though running the commands with -v param does give some caps that contain 'sprop-parameter-set'. Since 'interleave mode' is also a part of the 'sprop-parameter-set', I was wondering if there is a way to SET these parameters instead of just GETing them with -v. Also, I'm not sure if the functionality is even implemented in the 'rtph264pay' for interleave mode. So, I wanted to ask if this payloader implements the whole of rfc 3984 or not. <br><br>Please note that I am using gstreamer from linux shell (as can be seen from the pipelines). I would like best not to have to go
into changing the gstreamer but if it is necessary, please guide me.<br><br>Thanks.<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Jyoti <jyoti.d@allaboutif.com><br><b><span style="font-weight: bold;">To:</span></b> Discussion of the development of GStreamer <gstreamer-devel@lists.sourceforge.net><br><b><span style="font-weight: bold;">Sent:</span></b> Sat, December 19, 2009 3:13:56 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [gst-devel] Getting the complete caps from rtph264pay<br></font><br>
Within the notify::caps callback function try print the caps as below.<br><br>caps = GST_PAD_CAPS (pad);<br>g_print ("Caps = %s\n, gst_caps_to_string (caps));<br><br>Refer the link below for more info:<br><span><a target="_blank" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#gst-pad-get-caps">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#gst-pad-get-caps</a></span><br>
<br><div class="gmail_quote">On Sat, Dec 19, 2009 at 1:55 PM, Farah <span dir="ltr"><<a rel="nofollow" ymailto="mailto:farahakhtar_24c@yahoo.com" target="_blank" href="mailto:farahakhtar_24c@yahoo.com">farahakhtar_24c@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Can you please tell how exactly you got those caps from a command line<br>
shell? I'm new to gstreamer. Say, I can create a pipeline fine but dont<br>
know how to access or modify RTP params like 'sprop-paramater-set' etc.<br>
Also, can I find the 'rtph264pay' help or documentation somewhere?<br>
<div class="im"><br>
<br>
<br>
> I'm not sure if this will solve your issue but I'd been getting the caps<br>
> from the udpsink linked to the payloader. However, some recent changes to<br>
> gst-plugins-bad (in git) have made it so these caps are always null, and I<br>
> haven't had the chance to diagnose the issue further. But at least with<br>
> the<br>
> last release, calling gst_pad_get_negotiated_caps on the udpsink's sink<br>
> pad<br>
> worked for me.<br>
<br>
For me, get_negociated_caps returns None when used inside my<br>
application. It does return the correct caps when i do it using an<br>
interactive shell.<br>
<br>
<br>
</div>--<br><span>
View this message in context: <a target="_blank" href="http://n4.nabble.com/Getting-the-complete-caps-from-rtph264pay-tp972686p975288.html">http://n4.nabble.com/Getting-the-complete-caps-from-rtph264pay-tp972686p975288.html</a></span><br>
<div class="im">Sent from the GStreamer-devel mailing list archive at <a target="_blank" href="http://Nabble.com">Nabble.com</a>.<br>
<br>
------------------------------------------------------------------------------<br>
</div>This SF.Net email is sponsored by the Verizon Developer Community<br>
Take advantage of Verizon's best-in-class app development support<br>
A streamlined, 14 day to market process makes app distribution fast and easy<br>
Join now and get one step closer to millions of Verizon customers<br><span>
<a target="_blank" href="http://p.sf.net/sfu/verizon-dev2dev">http://p.sf.net/sfu/verizon-dev2dev</a></span><br>
<div><div></div><div class="h5">_______________________________________________<br>
gstreamer-devel mailing list<br>
<a rel="nofollow" ymailto="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a rel="nofollow" target="_blank" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br>
</div></div>
<!-- cg15.c4.mail.gq1.yahoo.com compressed/chunked Sat Dec 19 20:45:41 PST 2009 -->
</div><br>
</body></html>