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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Pramod Biligiri
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?

Thanks,
Pramod Biligiri

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Dufresne-5
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 mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Thornton, Keith

Hi,

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

Gruesse

 

Von: gstreamer-devel <[hidden email]> Im Auftrag von Nicolas Dufresne
Gesendet: Sonntag, 17. Januar 2021 03:51
An: Discussion of the development of and with GStreamer <[hidden email]>
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 mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel