qmlglsink: Feature request: implement QAbstractVideoFilter-like feature in GstGLVideoItem for convenient way for getting QImages frome the samples
In Qt Multimedia there's a way to install a filter https://doc.qt.io/qt-5/qabstractvideofilter.html into Qml VideoOutput
which allows acquiring frames as QImage
s and then perform some additional processing, like passing that image to OpenCV algorithms.
Currently I presume one would have to modify pipeline to use tee
and appsink
and get frames via it, or to poll last-sample
property using timer, after determining what is frame rate of the pipeline..?
Having optional mode there GstGLVideoItem
would emit QImage
on every sample or by introducing analogous "filter" runnable that would not block the pipeline, would make it much easier, without need to modify pipeline or do some other "gymnastics".