how to extract video data from gstbuffer in gstreamer-1.0

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

how to extract video data from gstbuffer in gstreamer-1.0

SoureCode
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: how to extract video data from gstbuffer in gstreamer-1.0

Tim-Philipp Müller-2
On Fri, 2012-11-09 at 23:20 -0800, Raju wrote:

Hi,

> I am a newbi in gstreamer plugin development. I am developing plugin for
> gstreamer 1.0 I am not able to extract video data from gstbuffer. Can
> anybody help me out with this? Thanks in advance

Something like:

   GstMapInfo map;

   gst_buffer_map (buffer, &map, GST_MAP_READ);
   gst_util_dump_mem ((const guchar *) map.data, map.size);
   gst_buffer_unmap (buffer, &map);


We should probably add something about that to the docs somewhere :)

 Cheers
  -Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to extract video data from gstbuffer in gstreamer-1.0

SoureCode
This post was updated on .
CONTENTS DELETED
The author has deleted this message.