[gst-devel] I need help with RTP pipeline
Charles, Daniel
dcharles at ti.com
Wed Aug 9 16:55:15 CEST 2006
Hi,
I wrote an application as well. I used a hash table,
Guint32 pt = 96;
GHashTable *pt_map = g_hash_table_new_full (g_direct_hash,
g_direct_equal, NULL, (GDestroyNotify)gst_caps_unref);
then established the caps filter
caps = gst_caps_new_simple("application/x-rtp", "clock-rate",G_TYPE_INT,
90000, NULL);
insert into the hash table
g_hash_table_insert (pt_map, GINT_TO_POINTER(pt), (gpointer) caps);
then when connecting the rtpbin and the depayloader, link them with the
caps
That worked for me pretty well.
Regards,
Daniel.
________________________________
From: gstreamer-devel-bounces at lists.sourceforge.net
[mailto:gstreamer-devel-bounces at lists.sourceforge.net] On Behalf Of
Deeptendu Bikash
Sent: Wednesday, August 09, 2006 4:33 AM
To: gstreamer-devel at lists.sourceforge.net
Subject: Re: [gst-devel] I need help with RTP pipeline
I am trying to do the same thing by writing an application. For the
receiver, I am creating a udpsrc, depayloader, decoder and videosink,
and linking them together. I am creating them like this:
depayloader = gst_element_factory_make("rtph263pdepay",
"testrtpplayer_depay");
decoder = gst_element_factory_make("ffdec_h263", "testrtpplayer_dec");
My question is, how do I set the caps of the rtph263pdepay sink pads to
accept "application/x-rtp, clock-rate=90000,pt=97"?
Thanks,
Deeptendu
On 8/8/06, M M <mikel_m01 at yahoo.com> wrote:
Hi,
Thanks!!!, That solved the problem.
Regards,
Michael
Philippe Khalaf < burgerman at users.sourceforge.net
<mailto:burgerman at users.sourceforge.net> > wrote:
Hi,
Try this :
gst-launch udpsrc port=4000 ! application/x-rtp, clock-rate=90000,
pt=97 ! rtph263pdepay ! ffdec_h263 ! xvimagesink
Regards,
Philippe
M M wrote:
> Hi,
> Please I need help on RTP pipeline, I have this pipeline:
>
> Sender:
> gst-launch videotestsrc ! ffenc_h263p ! rtph263ppay ! udpsink
port=4000
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
>
> Works fine!!! but the Receiver:
>
> gst-launch udpsrc port=4000 ! rtph263pdepay ! ffdec_h263 ! xvimagesink
> OR even
> gst-launch udpsrc port=4000 ! rtph263pdepay ! fakesink
>
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
>
> ** (gst-launch-0.10:29039): CRITICAL **: gst_base_rtp_depayload_chain:
> assertion `filter->clock_rate > 0' failed
> ERROR: from element /pipeline0/udpsrc0: Internal data flow error.
> Additional debug info:
> gstbasesrc.c(1569): gst_base_src_loop (): /pipeline0/udpsrc0:
> streaming task paused, reason error (-5)
> Execution ended after 2564000 ns.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
> I traced the error to gstrtph263pdepay.c and gstbasertpdepayload.c and
> tried to fix the clockrate, by commenting out checking the structure
(in
> gstrtph263pdepay.c setcaps), that didn't work. This error
unfortunately
> exists in all the RTP depayloaders. Maybe I am doing something wrong!.
> Please help.
>
> Regards,
> Michael
>
>
------------------------------------------------------------------------
> See the all-new, redesigned Yahoo.com . Check it out.
>
>
>
>
------------------------------------------------------------------------
>
>
------------------------------------------------------------------------
-
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
________________________________
Do you Yahoo!?
Get on board. You're invited
<http://us.rd.yahoo.com/evt=40791/*http:/advision.webevents.yahoo.com/ha
ndraisers> to try the new Yahoo! Mail Beta.
------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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/20060809/60621db0/attachment.htm>
More information about the gstreamer-devel
mailing list