Hi
The basesrc only have one pad. I want to add another static pads to basesrc.
Is there any source element which have more than one pads? I am looking for such element for reference.
Thanks.
Best Regards!
Hu Gang
------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Tue, Dec 14, 2010 at 8:08 AM, Hu, Gang A <gang.a.hu@intel.com> wrote:
A tee (http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html) doesn't resolve your problem? i think sources usually have only one pad because it is pretty easy to copy the source data to multiple streams using the tee element. Don't know if your case is different, hope this helps you. best regards, Katcipis
-- http://www.getgnulinux.org/windows ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Hu, Gang A
On Tue, 2010-12-14 at 18:08 +0800, Hu, Gang A wrote:
> Hi > The basesrc only have one pad. I want to add another static pads to > basesrc. > Is there any source element which have more than one pads? I am > looking for such element for reference. > Thanks. I'm assuming you're interested in camerabin2 and its 3pad source. I've been drafting a base class for it lately. Maybe we could discuss and get this working together? I've been wondering if it would be good to inherit from GstBaseSrc or GstPushSrc and add more pads to it. But I prefer writing it from GstElement itself as we get more flexibility and won't be surprised by future changes for GstBaseSrc or GstPushSrc. The initial implementation is already on http://gitorious.org/gstreamer-camerabin2/gst-plugins-bad/commits/camerabin2 > > Best Regards! > Hu Gang > -- Thiago > > > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
En, I am writing the source element for camerabin2. We can work together
in the future. My currently plan is writing a GstCamBaseSrc inherited from GstElement. But I think the most of the code should be same as the GstBaseSrc. I also need to refer other element to know how to manage the pads. The camera source element inherits from GstCamBaseSrc. I will send out the first design later. Thanks. -----Original Message----- From: Thiago Sousa Santos [mailto:[hidden email]] Sent: Wednesday, December 15, 2010 9:20 AM To: Discussion of the development of GStreamer Subject: Re: [gst-devel] Looking for multi-pads source element On Tue, 2010-12-14 at 18:08 +0800, Hu, Gang A wrote: > Hi > The basesrc only have one pad. I want to add another static pads to > basesrc. > Is there any source element which have more than one pads? I am > looking for such element for reference. > Thanks. I'm assuming you're interested in camerabin2 and its 3pad source. I've been drafting a base class for it lately. Maybe we could discuss and get this working together? I've been wondering if it would be good to inherit from GstBaseSrc or GstPushSrc and add more pads to it. But I prefer writing it from GstElement itself as we get more flexibility and won't be surprised by future changes for GstBaseSrc or GstPushSrc. The initial implementation is already on http://gitorious.org/gstreamer-camerabin2/gst-plugins-bad/commits/camerabin2 > > Best Regards! > Hu Gang > -- Thiago > > > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Thiago Sousa Santos
Hi,
On 15.12.2010 03:19, Thiago Sousa Santos wrote: > On Tue, 2010-12-14 at 18:08 +0800, Hu, Gang A wrote: >> Hi >> The basesrc only have one pad. I want to add another static pads to >> basesrc. >> Is there any source element which have more than one pads? I am >> looking for such element for reference. >> Thanks. > I'm assuming you're interested in camerabin2 and its 3pad source. I've > been drafting a base class for it lately. Maybe we could discuss and get > this working together? > > I've been wondering if it would be good to inherit from GstBaseSrc or > GstPushSrc and add more pads to it. But I prefer writing it from > GstElement itself as we get more flexibility and won't be surprised by > future changes for GstBaseSrc or GstPushSrc. main reason sources there don't really work. I once started copying code from basesrc, but it becomes quite a copy'n'paste session :/ At some point in one of my other lives I plan to look at this again. Stefan > The initial implementation is already on > http://gitorious.org/gstreamer-camerabin2/gst-plugins-bad/commits/camerabin2 > >> >> Best Regards! >> Hu Gang >> > -- > Thiago > >> >> >> ------------------------------------------------------------------------------ >> Lotusphere 2011 >> Register now for Lotusphere 2011 and learn how >> to connect the dots, take your collaborative environment >> to the next level, and enter the era of Social Business. >> http://p.sf.net/sfu/lotusphere-d2d >> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |