[gst-devel] Getting the complete caps from rtph264pay

Jyoti jyoti.d at allaboutif.com
Sat Dec 19 11:13:56 CET 2009


Within the notify::caps callback function try print the caps as below.

caps = GST_PAD_CAPS (pad);
g_print ("Caps = %s\n, gst_caps_to_string (caps));

Refer the link below for more info:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#gst-pad-get-caps

On Sat, Dec 19, 2009 at 1:55 PM, Farah <farahakhtar_24c at yahoo.com> wrote:

>
>
> Can you please tell how exactly you got those caps from a command line
> shell? I'm new to gstreamer.  Say, I can create a pipeline fine but dont
> know how to access or modify RTP params like 'sprop-paramater-set' etc.
> Also, can I find the 'rtph264pay' help or documentation somewhere?
>
>
>
> > I'm not sure if this will solve your issue but I'd been getting the caps
> > from the udpsink linked to the payloader. However, some recent changes to
> > gst-plugins-bad (in git) have made it so these caps are always null, and
> I
> > haven't had the chance to diagnose the issue further. But at least with
> > the
> > last release, calling gst_pad_get_negotiated_caps on the udpsink's sink
> > pad
> > worked for me.
>
> For me, get_negociated_caps returns None when used inside my
> application. It does return the correct caps when i do it using an
> interactive shell.
>
>
> --
> View this message in context:
> http://n4.nabble.com/Getting-the-complete-caps-from-rtph264pay-tp972686p975288.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20091219/db8a4aac/attachment.htm>


More information about the gstreamer-devel mailing list