gstreamer : record a stream while playing

Duchassin Frederic duchassin at sefram.fr
Wed Feb 6 13:43:46 UTC 2019


Hi Tim,


I have solve my problem by adding/removing elements from my pipeline.

It's not very very beautiful because all elements are created in my main 
program and it lead to referencing them before removing from the 
pipeline (because i would like to keep these elements).

BR


Frederic


Le 06/02/2019 à 10:07, Tim Müller a écrit :
> On Wed, 2019-02-06 at 09:32 +0100, Duchassin Frederic wrote:
>
> Hi Frederic,
>
>> Is it possible to add all the gstreamer sinks to my pipeline AND
>> only link one branch.
>>
>> That's to say, just link the record branch. The decode branch is in
>> pipeline but not linked. At this point, my first test show that it
>> doesn't work.
> Yes, that is possible, but I wouldn't really recommend it.
>
> If you put in sinks that don't receive data at the beginning, the
> pipeline will not preroll (start up).
>
> You can work around that by setting these sinks to async=false.
>
> Cheers
>   Tim
>


More information about the gstreamer-devel mailing list