get compressed video frame size (x264 or omxh264enc)

Jake Zhang zjpseudo at gmail.com
Wed Aug 24 10:22:10 UTC 2016


I believe I have tried that and the gst_buffer_get_size() will return the
raw video frame size even you polling it on encoder source pad.

On Wed, Aug 24, 2016 at 1:00 AM, Arjen Veenhuizen <arjen.veenhuizen at tno.nl>
wrote:

> You can add a BUFFER pad_probe on the encoder's src pad and query the
> GStBuffer size using get_size() in its callback.
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.
> n4.nabble.com/get-compressed-video-frame-size-x264-or-
> omxh264enc-tp4679216p4679219.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160824/abc9b4c4/attachment-0001.html>


More information about the gstreamer-devel mailing list