How to peek at the buffer?

Bjoern b44treader at googlemail.com
Mon Feb 1 15:18:23 PST 2016


Hi Tim,

thanks for the fast response, I will have a look at this.
In the meanwhile, I found gst_app_sink_set_emit_signals() & Co. - this
should also be a possibility - or not?

Best regards,
Björn

On Mon, Feb 1, 2016 at 11:35 PM, Tim Müller <tim at centricular.com> wrote:
> On Mon, 2016-02-01 at 22:37 +0100, Bjoern wrote:
>
> Hi Björn,
>
>> first of all, I want to thank all contributors for their work on
>> GStreamer. I am searching a a backend for the just open-sourced
>> jukebox "Silverjuke", and I think I have found it :-)
>>
>> While "normal" playback already works I have no idea how to get the
>> sample data from the audio buffer that is "about to being played"
>> (Silverjuke has some build-in visualisations and calculations that I
>> wanted too feed).
>
> The easiest way would be to write a visualisation plugin that gets fed
> audio samples and outputs video data. You can then set the visualiser
> of your choice on the playbin element. There's a new GstAudioVisualizer
> base class in gst-plugins-base 1.7.x / git master for what it's worth.
>
>  Cheers
>   -Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list