On Fri, 2019-10-11 at 05:17 -0500, luisyin wrote:
>
> Data comes from rtsp stream. Video part is ok. I want to get raw audio data
> every second. The buffer size I got is 32000, I think it's right. But I got
> several buffers every second. I want to receive exactly one buffer with size
> 32000 every second. What's wrong with my pipeline. I am new to gstreamer.
32000 bytes per buffer would be correct, and that would represent one
second of raw audio in your configuration. If you get multiple such
buffers per second, maybe that just means your source is sending data
faster than real-time?
audiobuffersplit does not care about the clock but only looks at
timestamps for splitting/joining buffers. As long as there is no
discontinuity in the stream (timestamp-wise), it would always output 1
buffer with 1 second worth of raw audio.
--
Sebastian Dröge, Centricular Ltd ·
https://www.centricular.com_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel