gstreamr-bad-plugin: remove silence adding "pre-length"

Mailing List SVR lists at svrinformatica.it
Thu Mar 24 23:10:32 UTC 2016


Il 24/03/2016 13:42, Sagar ha scritto:
> Hi Nicola,
>
> I was wondering if I could output/signal voice buffer when silence is
> detected (i.e voice before silence)

this seems something too specific to be implemented inside removesilence 
plugin

>   then I will have to keep on adding
> *map.data*  into an array and when silence is detected then this
> *data_array* will be having raw audio data ? Is the correct ?

I think you can use something like this:

... ! removesilence ! appsink

get buffer/sample from appsink and keep your custom queue and then push 
to another pipeline like this:

appsrc ! ....

if you want to push your buffer when silence is detected I think you 
should at least retimestamp them,

Nicola

>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstreamr-bad-plugin-remove-silence-adding-pre-length-tp4676522p4676533.html
> Sent from the GStreamer-devel mailing list archive at 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