Change volume of a pipeline during runtime

tobatrance henning.hinze at mail.de
Fri Dec 15 14:01:09 UTC 2017


Hi.

I got the following pipeline in C using GST 1.8.3:

filesrc ! decodebin name=mux ! appsink mux. ! audioconvert ! volume !
alsasink.

I want to change the volume property of the volume element during runtime.
It works initially, before the pipeline is started. It works with
g_object_set(...) and gst_stream_volume_set_volume(...). Anyway, when the
pipeline is already started, during runtime, there is no effect when one of
these two is invoked. I can see via gst_stream_volume_get_volume(...) that
the volume is actually delivered as i retrieve the previously set one, but
there is no audible effect though. 

Anyone has any hint for me what might be wrong or maybe wrongly setup in
alsa is? I read over some media player software using gstreamer and they all
use it like that but they're all using playbin for pipeline creation.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list