Reading streaming video frame by frame

omer.tal jacklawi at
Wed Nov 18 06:31:22 UTC 2020

Hello sir,

In your callback, try this:

/  sample = gst_app_sink_pull_sample((GstAppSink*)sink);
  if (sample) {
    buffer = gst_sample_get_buffer(sample);
    gst_buffer_map(buffer, &info, GST_MAP_READ);
    gst_buffer_unmap(buffer, &info);
    gst_sample_unref (sample);/

Your data should be stored in **

Let me know if it works out for you...

Sent from:

More information about the gstreamer-devel mailing list