writing custom gstreamer 1.0 elements in python

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

writing custom gstreamer 1.0 elements in python

dpw157
Hey all,

i am trying to create some elements from scratch in python and i was
wondering how to go about doing that. I wanted to have the element do some
custom image processing on the video frame then send it back to the
pipeline. I have read some documentation on the subject but am still a
little confused. If someone could point me in right direction or give me an
example it would be greatly appreciated.

Thanks for your help in advance



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

Re: writing custom gstreamer 1.0 elements in python

Mathieu Duponchelle
Hey,

I have written two posts on this subject recently, you can find them at
http://mathieuduponchelle.github.io/2018-02-01-Python-Elements.html and
http://mathieuduponchelle.github.io/2018-02-15-Python-Elements-2.html.

There were until recently a few issues in pygobject making writing elements
in pyython impractical, and you will probably need to build and use the most
recent version (3.27.5) if you do encounter these as well.

For your specific use case, you will want to implement a GstVideoFilter subclass,
be aware however that *video* processing in python might prove a bit taxing
performance-wise.

On 03/14/2018 09:27 PM, dpw157 wrote:
Hey all,

i am trying to create some elements from scratch in python and i was
wondering how to go about doing that. I wanted to have the element do some
custom image processing on the video frame then send it back to the
pipeline. I have read some documentation on the subject but am still a
little confused. If someone could point me in right direction or give me an
example it would be greatly appreciated.

Thanks for your help in advance



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


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

Re: writing custom gstreamer 1.0 elements in python

dpw157
sorry its been a little while. Thank you for the information and advice it
really helped me with making progress



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel