How to parse the H264 data in gstbuffer?

Sebastian Dröge sebastian at centricular.com
Mon Aug 10 01:28:07 PDT 2015


On Mo, 2015-08-10 at 09:26 +0530, Chetan Nanda wrote:
> 
> 
> On Sat, Aug 8, 2015 at 10:24 AM, san90 <sanilf1 at gmail.com> wrote:
> > Can someone let me know how to parse the data that that is 
> > available in
> > gstbuffer? (  [const] guint8 *data = GST_BUFFER_DATA(buffer) ). 
> > Also if it
> > is a H264 stream, how do I parse the data or play it?
> > I am pretty new to GStreamer and video in general, so feel free to 
> > correct
> > me if there is something wrong with this question.
> There is a H264 parser implementation in gstreamer (gst-plugins
> -bad/gst/videoparsers/gsth264parse.c)
> You may have a look at it implementation.

More importantly, there is a h264 parser API at gst-plugins-bad/gst
-libs/gst/codecparsers that you can directly use in your own code (and
that is used by the h264parse element).

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150810/fde72c5f/attachment.sig>


More information about the gstreamer-devel mailing list