Audio Disable for only audio playback

Shishir Pokharel Shishir.Pokharel at on24.com
Thu Oct 12 05:21:48 UTC 2017


You might need to use pad_probe and block the buffer flow before you
remove exiting sink. After you replace the sink make the new sinkĀ¹s
runtime match the pipeline runtime and remove the probe, that should take
care of your issue. Anyone - correct me if I am wrong.

On 10/11/17, 10:15 PM, "gstreamer-devel on behalf of DeepakRohan"
<gstreamer-devel-bounces at lists.freedesktop.org on behalf of
deepak027rohan077 at gmail.com> wrote:

>Hi,
>
>    I am trying to disable audio, while playing a "only-audio" file.
>
>But then what is the expected result???
>
>I am expecting a behavior such that after removing audio sink and linking
>with fakesink (with sync=TRUE), can the pipeline run without outputting
>any
>data, but with elapsed time increasing.
>
>Can the above behavior be achieved or is there a possibility.
>
>Currently the moment audio sink is removed I get GST_MESSAGE_CLOCK_LOST.
>But then after handling that message I have no element in the pipeline
>that
>can provide me clock.
>So my playback goes for toss.
>
>But the same is working for disabling audio and video for a audio-video
>file.
>That is to say in case of audio-video files, there is no audio and video
>outputs. But elapsed time keeps incrementing.
>
>Can the same behavior be achieved while playing only a single stream (only
>audio or only video files).
>
>Please let me know if I can refer something on the same
>
>Thanks in Advance :-)
>
>
>
>--
>Sent from: http://gstreamer-devel.966125.n4.nabble.com/
>_______________________________________________
>gstreamer-devel mailing list
>gstreamer-devel at lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list