[gst-devel] Gstbuffers and types of images

Alexis Berlemont alexis.berlemont at gmail.com
Tue Jun 15 14:26:21 CEST 2010


Hi,

I noticed that the plugin mpegvideoparse is able to find out the
images types (I, P, B) which flow through it in Gstbuffers.

And, if the image type is not "I", mpegvideoparse sets the flag
GST_BUFFER_FLAG_DELTA_UNIT (which means that the image cannot be
decoded independently). That allows me to differentiate intra from
inter images. Unfortunately, I am unable to differentiate inter images
(P or B).

If I have to write a little plugin which re-reads the picture header,
what would be the correct Gstreamer way to send this info to the next
Gstreamer element (tag ?, ...) ?

Many thanks in advance.

Alexis.




More information about the gstreamer-devel mailing list