<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<pre wrap="">Hey,
I have written two posts on this subject recently, you can find them at
<a class="moz-txt-link-freetext" href="http://mathieuduponchelle.github.io/2018-02-01-Python-Elements.html">http://mathieuduponchelle.github.io/2018-02-01-Python-Elements.html</a> and
<a class="moz-txt-link-freetext" href="http://mathieuduponchelle.github.io/2018-02-15-Python-Elements-2.html">http://mathieuduponchelle.github.io/2018-02-15-Python-Elements-2.html</a>.
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 <b class="moz-txt-star"><span class="moz-txt-tag">*</span>video<span class="moz-txt-tag">*</span></b> processing in python might prove a bit taxing
performance-wise.
</pre>
<br>
<div class="moz-cite-prefix">On 03/14/2018 09:27 PM, dpw157 wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1521059231040-0.post@n4.nabble.com">
<pre wrap="">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: <a class="moz-txt-link-freetext" href="http://gstreamer-devel.966125.n4.nabble.com/">http://gstreamer-devel.966125.n4.nabble.com/</a>
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>