My plugin needs to consume
video/x-raw , format=(string)RGB
frames.
I was able to modify *vpsjpegtranscoder* to include my plugin, but I can’t send video back to VMS.
My pipeline is
- fromxprotectconverter
- decodebin
- videoconvert
- myplugin
- xprotectjoin ( with meta sink from 1. )
- jpegenc
- toxprotectconverter
I see that _chain function of myplugin executes correctly and pushes input frames as is next, but I can’t see output video in VMS
As I need to add metadata in my plugin I tried to do :
- fromxprotectconverter
- decodebin
- videoconvert
- xprotectjoin ( with meta sink from 1. )
- myplugin
- jpegenc
- toxprotectconverter
And I don’t have output video inside Management Client.
But when I change myplugin to identity I receive images in Management Client.
Another observation: when I run myplugin as a pipeline It sends metadata and video, but I can’t run object detection because stream is not decoded.
Another question: can I use x264enc instead of jpegenc ?