[gst-devel] multiple source to one sink
Michael Horbovetz (horb)
horb at cisco.com
Tue Apr 17 23:49:46 CEST 2007
> -----Original Message-----
> From: Michael Horbovetz (horb)
> Sent: Tuesday, April 17, 2007 4:40 PM
> To: 'Jerome Alet'
> Cc: gst-devel at lists.sourceforge.net
> Subject: RE: [gst-devel] multiple source to one sink
>
>
> they are just text files. one file contains numerous A's.
> the next B's. the next C's. this is just a test application
> that i'm writing to see if this concept works.
>
> i just want to read the files and display them to stdout.
>
> thanks,
> mike
>
>
> > -----Original Message-----
> > From: Jerome Alet [mailto:alet at librelogiciel.com]
> > Sent: Tuesday, April 17, 2007 4:38 PM
> > To: Michael Horbovetz (horb)
> > Cc: gst-devel at lists.sourceforge.net
> > Subject: Re: [gst-devel] multiple source to one sink
> >
> > On Tue, Apr 17, 2007 at 02:29:11PM -0700, Michael Horbovetz
> > (horb) wrote:
> > >
> > > i'm trying to create an application that reads from 3
> > different files
> > > and outputs to stdout.
> > >
> > > i create 3 filesrc elements. they each read from a
> > different file. i
> > > created a fakesink element and changed dump to true; so
> > output should
> > > display to stdout. i'm not sure how to "connect" all
> these to work
> > > properly.
> > >
> > > i read in section 8.1.2 of the gstreamer application development
> > > manual about aggregators. aggregators are elements that
> merge the
> > > content of several input streams together into one output stream.
> > >
> > > how do i link all 3 filesrc elements to the 1 sink element? then
> > > change state to play. then i should see the file data output to
> > > stdout, interspersed.
> >
> > The answer probably depends on what you want to do exactly
> with these
> > input files and the format each of them is in.
> >
> > For example if your files were all video streams, you could
> link them
> > together using a 'videomixer' element.
> >
> > hth
> >
> > Jerome Alet
> >
More information about the gstreamer-devel
mailing list