10 min. read | Next guide shows steps to write Gstreamer Plugin in Python for any Computer Vision, Image Processing task and use it in standard Gstreamer pipeline from command line. Additionally this post explains how to get/set own properties from implemented Gstreamer plugin.
Gstreamer with Python is highly flexible for data visualization. Any video streaming pipeline could be extended with custom Python plugins that allows you to draw any information (bounding boxes, confidences, class names, etc.). Next information is simple comparison of two most popular approaches to draw on gstreamer buffer: PyCairo, OpenCV.
Gstreamer is flexible plugin based data streaming framework. One of the main advantange of plugins is that developer can pass not only data buffer, but custom metadata which can describe buffer and store any information about buffer. Next information is a simple guide with code templates on how to pass any data from
When developing real-time streaming applications using Gstreamer I prefer to build library from sources, than install from official Ubuntu repositories via apt-get. Also building Gstreamer from sources gives you more flexibility and there are a lot of bug fixes, features in latest versions.
5 min. read | Common use of Gstreamer is through command line. In the next post we are going to launch Gstreamer pipeline from Python. This could be helpful for those who have already working pipeline and want to debug/extend it with own code.
Next lines of code helps to get buffer width, height from Gst.Caps for further buffer processing. In general, Caps are simple description of media formats and consists of multiple Gst.Structures.
Learning Gstreamer isn’t easy. As there is a limited number of available resources over the Internet so be ready to become frequent user of StackOverflow, Reddit, Quora. (Attention: No images in this post)
An inspiration to learn Gstreamer I got from awesome projects over the internet. Since I wrote my first plugin (Face Detection with OpenCV) I started to think about Gstreamer as not only video, but also ‘any data’ streaming library. So, in this article I share with my Top 5 Coolest projects based on
2 min. read Gstreamer is essential package for Ubuntu, but there could be some missing packages that are required for app development. So with next steps you are going to install Gstreamer on your PC.