[gst-devel] multiple source to one sink

Michael Horbovetz (horb) horb at cisco.com
Wed Apr 18 16:43:36 CEST 2007


the files contain text.  one contains numerous character A's; the next
B's; the next C's.

i don't really care what order the characters appear on standard out.
i'm wondering how to link elements together to get this to work.  it
seems that an element can only belong to one bin.  does that imply that
an element can be linked to only one other element?  if so then what is
referred to in section 8.1.2 of the application development manual when
it talks about aggregator elements.

thanks,
mike



> -----Original Message-----
> From: Edward Hervey [mailto:bilboed at gmail.com] 
> Sent: Wednesday, April 18, 2007 3:58 AM
> To: Michael Horbovetz (horb)
> Cc: gstreamer-devel at lists.sourceforge.net
> Subject: Re: [gst-devel] multiple source to one sink
> 
> Hi,
> 
>   Do you wish to:
>   * mix together the contents of the 3 files ? (result would be :
> ABCABCABCABC...)
>   * concatenate the contents of the 3 files ? (result would be :
> AAA...BBB...CCC...)
> 
>   For the first case, mixing is format-dependant, so you need 
> to give us more info about the format you're using.
>   For the second case, if it's audio/video you can use the 
> GNonLin plugins which can help you create compositions of 
> files. It should also work with any type of media, but hasn't 
> been tested.
> 
>    Edward
> 
> On 4/17/07, Michael Horbovetz (horb) <horb at cisco.com> 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.
> >
> > thanks,
> > mike
> >
> > 
> ----------------------------------------------------------------------
> > --- This SF.net email is sponsored by DB2 Express Download 
> DB2 Express 
> > C - the FREE version of DB2 express and take control of 
> your XML. No 
> > limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> 
> 
> --
> Edward Hervey
> Multimedia editing developer / Fluendo S.A.
> http://www.pitivi.org/
> 




More information about the gstreamer-devel mailing list