[gst-devel] Removing silence from a stream

Stefan Kost ensonic at hora-obscura.de
Fri Jul 24 16:27:12 CEST 2009


Tiago Katcipis schrieb:
> Anyone can give a hint on what would be the best way to remove the
> silence from an audio stream? Not only silence from the beginning and
> the end, i want to remove all the silence from the stream and output
> only the voice.
>
> cutter seens to do something like this (sending signals) but i cant
> make it do exactly what i want, i dont want to know when silence
> starts and ends, i want it removed from the stream :-).
if you know the positions, then you could play a series of segmented
seeks (see GST_SEEK_FLAG_SEGMENT from the docs). You might want to
re-timestamp the buffers to make it a continous audiostream (you can use
a pad-probe for it). Altogether not really a beginner project.

Stefan
>
> best regards,
> Katcipis
>
> -- 
> "it might be a profitable thing to learn Java, but it has no
> intellectual value whatsoever" Alexander Stepanov
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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