Using do_transform_frame in GstVideo.VideoFilter (python)

Mathieu Duponchelle mathieu at centricular.com
Mon Mar 26 21:41:01 UTC 2018


Hello,

Implementing elements in python, while supported, is not very thoroughly
tested, and what you are describing is most likely a bug.

Can you share a minimal example reproducing your issue, or even better
file a bug and attach such an example?

On 03/26/2018 08:07 PM, dpw157 wrote:
> Hey all,
> I have a question about using the do_transform_frame function when creating
> your own elements.
>
> 1. Why is my buffer none within the GstVideo.VideoFrame object. For instance
> when i try
> print inframe.buffer
> (which from my understanding should return a object of type Gst.Buffer)
> instead returns None.
>
> 2. Why is the video a black screen when i dont change anything within
> do_transform_frame. Do i have to push the outbuffer within the function. If
> so how do i do this, since the return for do_transform_frame is a
> Gst.FlowReturn, which are usually just True or False.
>
> Thanks for taking the time to read this and helping me out
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list