AW: Do transform_ methods in GstBaseTransform subtypes always get one full frame?

Thornton, Keith keith.thornton at zeiss.com
Mon Jan 18 06:10:56 UTC 2021


Hi,
The GstBuffer may also contain additional information such as SPS and PPS.
Gruesse

Von: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> Im Auftrag von Nicolas Dufresne
Gesendet: Sonntag, 17. Januar 2021 03:51
An: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org>
Betreff: Re: Do transform_ methods in GstBaseTransform subtypes always get one full frame?

Le jeudi 14 janvier 2021 à 20:35 +0530, Pramod Biligiri a écrit :
Hi,
I have created an element as a subclass of GstBaseTransform and overriding the transform_inplace callback there. I'm assuming that each input GstBuffer received there is a full frame, and is exactly one frame. It is working for the current video file (a H264 file) that I'm testing, but is it going to be true in general?

This is only partially true for H.264 streams with the caps field alignment=au. The special case being interlaced content were the fields are coded seperatly, in that case the AU is a frame or a field.


Thanks,
Pramod Biligiri
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&data=04%7C01%7C%7C9c93c95614db428ee83e08d8ba9c6abc%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637464528252493504%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8T3DYkWmhB9PiVxIdMuE6sxbxwtYUgf5kyEwi1dYlT8%3D&reserved=0>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210118/f06fc057/attachment.htm>


More information about the gstreamer-devel mailing list