[gst-devel] Creating multiple sinks

Pavan Kumar Patale pavanpatale at hotmail.com
Thu Aug 10 19:53:05 CEST 2006


Thanks for the quick reply. Yes the code only creates one src pad for the 
tee.  I visualized something like this :-
                                          __>sink of dsppcmsink
                                          |
dsppcmsrc--->tee's source--->|__>sink of filesink

So, by your suggestion it would look something like this:-


                              __>S1 source---->queue--->sink of dsppcmsink
dsppcmsrc---->tee's--|__>S2 source---->queue--->sink of filesink.

Could you pls let me know if this visualization is correct.  Also, how do i 
create two sourcepads
for tee ?

Thanks,
Pavan.


>From: Tim Müller <t.i.m at zen.co.uk>
>Reply-To: t.i.m at zen.co.uk
>To: gstreamer-devel at lists.sourceforge.net
>Subject: Re: [gst-devel] Creating multiple sinks
>Date: Thu, 10 Aug 2006 18:43:04 +0100
>MIME-Version: 1.0
>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by 
>bay0-mc3-f17.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Thu, 
>10 Aug 2006 10:43:05 -0700
>Received: from sc8-sf-list2-new.sourceforge.net (unknown [10.3.1.94])by 
>sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 777A0131C3; Thu, 10 Aug 
>2006 10:43:04 -0700 (PDT)
>Received: from sc8-sf-mx2-b.sourceforge.net 
>([10.3.1.92]helo=mail.sourceforge.net)by sc8-sf-list2-new.sourceforge.net 
>with esmtp (Exim 4.43)id 1GBEYf-0005rd-Vx for 
>gstreamer-devel at lists.sourceforge.net;Thu, 10 Aug 2006 10:43:02 -0700
>Received: from heisenberg.zen.co.uk ([212.23.3.141])by mail.sourceforge.net 
>with esmtp (Exim 4.44) id 1GBEYd-0007nL-U2for 
>gstreamer-devel at lists.sourceforge.net;Thu, 10 Aug 2006 10:43:02 -0700
>Received: from [217.155.195.89] (helo=sceptic)by heisenberg.zen.co.uk with 
>esmtp (Exim 4.50) id 1GBEYc-0002uC-Gafor 
>gstreamer-devel at lists.sourceforge.net;Thu, 10 Aug 2006 17:42:58 +0000
>X-Message-Info: LsUYwwHHNt39gVH39MrmDrV6yEbib/9PuVxG72Vt3FM=
>References: <BAY122-F7C5224B1345AB9EF687BFAA4A0 at phx.gbl>
>X-Mailer: Evolution 2.6.1 X-Originating-Heisenberg-IP: [217.155.195.89]
>X-Spam-Score: 0.0 (/)
>X-Spam-Report: Spam Filtering performed by sourceforge.net.See 
>http://spamassassin.org/tag/ for more details.Report problems 
>tohttp://sf.net/tracker/?func=add&group_id=1&atid=200001
>X-BeenThere: gstreamer-devel at lists.sourceforge.net
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: Discussion of the development of 
>GStreamer<gstreamer-devel.lists.sourceforge.net>
>List-Unsubscribe: 
><https://lists.sourceforge.net/lists/listinfo/gstreamer-devel>, 
><mailto:gstreamer-devel-request at lists.sourceforge.net?subject=unsubscribe>
>List-Archive: 
><http://sourceforge.net/mailarchive/forum.php?forum=gstreamer-devel>
>List-Post: <mailto:gstreamer-devel at lists.sourceforge.net>
>List-Help: 
><mailto:gstreamer-devel-request at lists.sourceforge.net?subject=help>
>List-Subscribe: 
><https://lists.sourceforge.net/lists/listinfo/gstreamer-devel>, 
><mailto:gstreamer-devel-request at lists.sourceforge.net?subject=subscribe>
>Errors-To: gstreamer-devel-bounces at lists.sourceforge.net
>Return-Path: gstreamer-devel-bounces at lists.sourceforge.net
>X-OriginalArrivalTime: 10 Aug 2006 17:43:05.0550 (UTC) 
>FILETIME=[6F5A86E0:01C6BCA4]
>
>On Thu, 2006-08-10 at 17:29 +0000, Pavan Kumar Patale wrote:
>
> > I tried to do that but still i am unable to get the result.  The code is 
>as
> > follows.   Could you pls let me know if the usage is right ?
>
>If I'm not mistaken your code only creates one source pad for the tee
>element via _get_request_pad() and then tries to link the same tee pad
>twice. You need to create two source pads, one for each sink. You'll
>also need to add a queue element between the tee element and each of the
>sinks.
>
>  Cheers
>   -Tim
>
>
>
>-------------------------------------------------------------------------
>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






More information about the gstreamer-devel mailing list