[gst-devel] Capsfilter problem for rtp streaming

Zhang, Boning boning.zhang at intel.com
Wed Aug 26 04:46:45 CEST 2009


I got it


   g_object_set(G_OBJECT(vidCaps), "caps",gst_caps_new_simple("application/x-rtp", // required caps
							"media",G_TYPE_STRING,"video", 		// video settings
							"payload",G_TYPE_INT,96,
							"clock-rate",G_TYPE_INT,90000,
							"encoding-name", G_TYPE_STRING, "H263-1998",
							NULL), NULL); 




-----Original Message-----
From: Zhang, Boning [mailto:boning.zhang at intel.com] 
Sent: 2009年8月26日 10:27
To: Marc Leeman; Discussion of the development of GStreamer
Subject: Re: [gst-devel] Capsfilter problem for rtp streaming

No it failed 

Error: Filter caps do not completely specify the output format
Returned, stopping playback
Deleting pipeline




-----Original Message-----
From: Marc Leeman [mailto:marc.leeman at gmail.com] 
Sent: 2009年8月25日 20:21
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] Capsfilter problem for rtp streaming

Something along these lines 

>     g_object_set(G_OBJECT(rtpsrc), "caps",gst_caps_new_simple("application/x-rtp",
>                                                         "clock-rate",G_TYPE_INT,90000,
>                                                         NULL), NULL);

should work and match your commandline.

-- 
  greetz, marc
It seems intuitively obvious to me, which means that it might be wrong.
		-- Chris Torek
crichton 2.6.26 #1 PREEMPT Tue Jul 29 21:17:59 CDT 2008 GNU/Linux
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list