[gst-devel] multiple source to one sink

Edward Hervey bilboed at gmail.com
Wed Apr 18 10:57:43 CEST 2007


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