[gst-devel] multiple pipelines

Stefan Kost ensonic at hora-obscura.de
Sat Nov 21 15:58:21 CET 2009


Miron Kunz schrieb:
> I am trying to accomplish the following:
> 
> 1) capture local audio/video from mic and camera
> 2) display local video and visual form of local audio
> 3) use farsight conference to stream local audio/video
> 3a) use farsight conference to display remote audio/video
> 
> I just started with gstreamer so I thought that all three tasks I will do in 3 different pipelines:
> 
> 1st Pipeline:
> dshowaudiosrc!tee name=srcdemux ! fakesink
> dshowvideosrc!tee name=srcdemux ! fakesink
> 
> 2nd Pipeline:
> ghost src pad from 1st pipeline video srcdemux!queue!dshowvideosink
> ghost src pad from 1st pipeline video srcdemux!queue!monoscope!dshowvideosink
> 
> 3rd Pipeline:
> ghost src pad from 1st pipeline video srcdemux!queue!farsight
> ghost src pad from 1st pipeline audio srcdemux!queue!farsight
> farsight src!dshowvideosink
> 
> I skipped all converters for sake of space.
> 
> When I am linking ghost pads I block audio or video src pad and perform linking from the call back.
> 
> If I made myself clear I would appreciate the advise on whether I still should choose the single pipeline for this case.
> 
> Thanks,
> Miron


Whenever you wants thinks sync'ed run them in one pipeline. Also in your case
where you need to pass data, run it in one pipline. You can use bins to
structure the pipeline.

Stefan

> 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Stefan Kost <ensonic at hora-obscura.de>
> To: Miron Kunz <mironoz at mail.ru>, 
> Discussion of the development of GStreamer <gstreamer-devel at lists.sourceforge.net>
> Date: Thu, 19 Nov 2009 23:37:14 +0200
> Subject: Re: [gst-devel] multiple pipelines
> 
>> Miron Kunz schrieb:
>>> Hi,
>>> Can I share data between 2 playing pipelines?
>>>
>>> In pipe 1:
>>> src->tee->sink
>>>
>>> In pipe 2:
>>> ghost pad from 1st pipeline's tee->queue->sink.
>>>
>>> Bad things happen when this is set to play because of the wrong-state on 2nd pipeline's queue pad.
>>>
>>> So shall i go to single pipeline for this case or there is a way to push data from one pipeline to another?
>> just use a single pipeline. Or tell us more what you actualy want to do, than we
>> can advise better.
>>
>> Stefan
>>
>>> Thanks,
>>> Miron
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>> gstreamer-devel at lists.sourceforge.net
>>> 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
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list