Regarding buffer size

Sebastian Dröge sebastian at centricular.com
Fri Jan 3 02:45:13 PST 2014


On Do, 2014-01-02 at 06:43 -0800, Shilpa Chandrappa wrote:
> Hi,
> 
> I am receiving rtsp video streams(video format: H264) to buffer using
> appsink. To confirm whether data is received correctly I wrote the data from
> buffer to a file and file played successfully. But when I am printing the
> size of buffer I am getting lot of variation. Could anyone explain what this
> size refers to ? Is this frame size of h264 data ?

It's the number of bytes in the buffers you receive there. What that
means depends on the caps on the appsink sinkpad. It could be one H264
AU per buffer.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140103/bd59ac75/attachment.pgp>


More information about the gstreamer-devel mailing list