'aggregator' element

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

'aggregator' element

William Lee-7
Hi all,

Is there an 'aggregator' element that can take n-inputs and output
them to 1 input? I'm looking for an element that can do a reverse of
'tee'. I can see there are many elements that provide muxing for
specific type of audio data, but I'm after a generic one that can
merge data received from multiple sources (e.g. udpsrc) into one
packet stream that can be decoded downstream.

Cheers,

William

--

William Lee @ Breeze Capsule
Email: william at breezecapsule.com
Mobile: +44 7984 368 182

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: 'aggregator' element

Tim-Philipp Müller-2
On Fri, 2009-08-14 at 08:39 +0100, William Lee wrote:

Hi,

> Is there an 'aggregator' element that can take n-inputs and output
> them to 1 input? I'm looking for an element that can do a reverse of
> 'tee'. I can see there are many elements that provide muxing for
> specific type of audio data, but I'm after a generic one that can
> merge data received from multiple sources (e.g. udpsrc) into one
> packet stream that can be decoded downstream.

How do you 'merge' data generically? What does that mean? Just push the
buffers out interleaved as they come in?

Cheers
 -Tim



------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: 'aggregator' element

William Lee-7
Yes. Simply interleave them. Would the 'input-selector' element with
the 'select-all' property set to true does the job? I'm trying that
out now.

William

2009/8/14 Tim-Philipp Müller <[hidden email]>:

> On Fri, 2009-08-14 at 08:39 +0100, William Lee wrote:
>
> Hi,
>
>> Is there an 'aggregator' element that can take n-inputs and output
>> them to 1 input? I'm looking for an element that can do a reverse of
>> 'tee'. I can see there are many elements that provide muxing for
>> specific type of audio data, but I'm after a generic one that can
>> merge data received from multiple sources (e.g. udpsrc) into one
>> packet stream that can be decoded downstream.
>
> How do you 'merge' data generically? What does that mean? Just push the
> buffers out interleaved as they come in?
>
> Cheers
>  -Tim
>
>
>
> ------------------------------------------------------------------------------
> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



--

William Lee @ Breeze Capsule
Email: william at breezecapsule.com
Mobile: +44 7984 368 182

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: 'aggregator' element

Aurelien Grimaud (elzz)
In reply to this post by William Lee-7
William Lee a écrit :

> Hi all,
>
> Is there an 'aggregator' element that can take n-inputs and output
> them to 1 input? I'm looking for an element that can do a reverse of
> 'tee'. I can see there are many elements that provide muxing for
> specific type of audio data, but I'm after a generic one that can
> merge data received from multiple sources (e.g. udpsrc) into one
> packet stream that can be decoded downstream.
>
> Cheers,
>
> William
>
>  

I am thinking about input-selector select-all=TRUE.

 Aurelien

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: 'aggregator' element

Dan Taylor-6
In reply to this post by William Lee-7
William Lee wrote:

> Hi all,
>
> Is there an 'aggregator' element that can take n-inputs and output
> them to 1 input? I'm looking for an element that can do a reverse of
> 'tee'. I can see there are many elements that provide muxing for
> specific type of audio data, but I'm after a generic one that can
> merge data received from multiple sources (e.g. udpsrc) into one
> packet stream that can be decoded downstream.
>
> Cheers,
>
> William
>
>  
Please, define "merge".  Sample questions:

Interleave specific sequences of bytes/frames (10 from input 0, 10 from
input 1, ...)?
Specific order or as available?
If ordered, what to do with accumulated input from !n (where n is a port
that has no data for some time)?
If as available, what policy for balancing input accumulation in output
stream?

Provide a transport stream composed of the individual inputs, converting
them to program streams (muxer)?

For audio-only mix the inputs to one output, like a multi-track studio
mixer?

Something else?



------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: 'aggregator' element

Håvard Graff
In reply to this post by Aurelien Grimaud (elzz)
Fs-funnel might be what you are looking for.
We use it a lot, works well!


-----Original Message-----
From: Aurelien Grimaud [mailto:[hidden email]]
Sent: 14. august 2009 10:12
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] 'aggregator' element

William Lee a écrit :

> Hi all,
>
> Is there an 'aggregator' element that can take n-inputs and output
> them to 1 input? I'm looking for an element that can do a reverse of
> 'tee'. I can see there are many elements that provide muxing for
> specific type of audio data, but I'm after a generic one that can
> merge data received from multiple sources (e.g. udpsrc) into one
> packet stream that can be decoded downstream.
>
> Cheers,
>
> William
>
>  

I am thinking about input-selector select-all=TRUE.

 Aurelien

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: 'aggregator' element

Donny Viszneki
In reply to this post by Tim-Philipp Müller-2
On Fri, Aug 14, 2009 at 4:19 AM, Dan Taylor<[hidden email]> wrote:
> Please, define "merge".  Sample questions:


On Fri, Aug 14, 2009 at 4:04 AM, Tim-Philipp Müller<[hidden email]> wrote:
> How do you 'merge' data generically? What does that mean? Just push the
> buffers out interleaved as they come in?

Yeah, I was thinking the same thing. His intent didn't make sense to
me until I read that he really wanted to combine streams of UDP
packets.

William, as there is no sink that I know of that will send UDP packets
in such a way that they then must be received by multiple udpsrc
elements, you must be doing something very interesting.

A) What is it that you're doing?

B) Are you certain you shouldn't be writing your own src specifically
for your application? You could skip having to have multiple udpsrc
elements and some bizarre element to combine them, and instead have a
well encapsulated gstreamer element written specifically for your
obscure situation. I don't think a generic combiner is a great idea.

--
http://codebad.com/

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: 'aggregator' element

William Lee-7
Hi all,

My use case is to take data from two UDP sockets (one for multicast, and one for unicast) and pass received data downstream to a gstrtpsession for further processing. Since my RTP pipeline doesn't really care where the data came from, so I need an 'aggregator' that simply receive data from one-or-more sinks and pass them down one src as quickly as possible as they arrive. Does it make sense? Or I'm missing the boat...

William

2009/8/14 Donny Viszneki <[hidden email]>
On Fri, Aug 14, 2009 at 4:19 AM, Dan Taylor<[hidden email]> wrote:
> Please, define "merge".  Sample questions:


On Fri, Aug 14, 2009 at 4:04 AM, Tim-Philipp Müller<[hidden email]> wrote:
> How do you 'merge' data generically? What does that mean? Just push the
> buffers out interleaved as they come in?

Yeah, I was thinking the same thing. His intent didn't make sense to
me until I read that he really wanted to combine streams of UDP
packets.

William, as there is no sink that I know of that will send UDP packets
in such a way that they then must be received by multiple udpsrc
elements, you must be doing something very interesting.

A) What is it that you're doing?

B) Are you certain you shouldn't be writing your own src specifically
for your application? You could skip having to have multiple udpsrc
elements and some bizarre element to combine them, and instead have a
well encapsulated gstreamer element written specifically for your
obscure situation. I don't think a generic combiner is a great idea.

--
http://codebad.com/

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



--

William Lee @ Breeze Capsule
Email: william at breezecapsule.com
Mobile: +44 7984 368 182

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel