rtpbin: ts adjustment needs filtering/smoothing

Sebastian Dröge sebastian at centricular.com
Sat Oct 17 20:49:12 UTC 2020


On Sat, 2020-10-17 at 13:13 -0400, Nicolas Dufresne wrote:
> 
> This is pure C, there is no ALSA there. It is about 50 line of code.
> We have another resampler now, but no one looked it up to see if it
> can be used more dynamicly then how it is used in audioresample
> element.

I actually looked at that a while ago and came to the conclusion that
the resampler is fine and could be used for this, but the way how
GstAudioBaseSink and GstAudioRingBuffer work does not really fit with
how a resampler would behave. This needs some redesigning of how these
work together.

Apart from the current resampler in there being bad (it's just linear
interpolation), this is also a big reason why it doesn't work at all
currently.

-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com




More information about the gstreamer-devel mailing list