rtsp -> decode -> detect -> track -> dstexample ->osd->tee |
| msg conv + msg broke
| encodeh264 ->rtppay->udpsink
In dstexample, i capture frames when alarm occurs and send a kafka message.
Now i want to
1)start smart-record (which has bbox in frame) related with that alarm and
2)upload the record file with minio c++ api when it finished.
It seems like i should add a srbin after encoder264, is that right?
Do you have some suggestions about that?
Here’s how I pass a parameter to smart record so that it is available in the callback. In this instance I am passing the source_id of the current detection: