Removing silence from a stream
Tim Müller
tim at centricular.com
Sat Feb 27 23:15:50 UTC 2016
On Sat, 2016-02-27 at 19:22 +0200, Sebastian Dröge wrote:
> Seeking is not going to help you much indeed. The best for removing
> silence from a stream would be to write an element that analyses the
> audio and drops any audio that is considered silence. It could
> optionally also offset the following timestamps to make it appear as
> if nothing was dropped.
The 'cutter' element should be able to do that already. A correctly-
configured 'audioparse' element after it could then be used to make the
audio look like a single continuous stream, unless you just want to
remove the silent bits but maintain the timestamps.
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list