Programming Advice

James Linder jam at
Fri Dec 24 09:42:54 UTC 2021

Guys Hi

I want to impliment a pipeline: (concept only shown)

v4l2src ! xvdisplaysink

vl2src ! pulsesrc ! hlssink2

vl2src ! pulsesrc ! qtmux ! filesink

I want to turn the xvdisplaysink on/off
I want to turn the filesink on/off

Google lots yields 2 sorts of solution

1) valves to enable/disable the hlssink2 and filesink bins
2) create/destroy the 2 bins.

Why use one or the other? As always the devil is in the detail. Opinion is the detail one way or other likely to be more onerous.


More information about the gstreamer-devel mailing list