Comments (2)
You will need to assign different (unique) name in each channel, ex
channel#1: ... ! gvawatermark name=gvawatermark1 ! ...
channel#2: ... ! gvawatermark name=gvawatermark2 ! ...
then you can set callback for each channel (in the loop)
pad = pipeline.get_by_name("gvawatermark1").get_static_pad("src")
pad.add_probe(Gst.PadProbeType.BUFFER, pad_probe_callback)
pad = pipeline.get_by_name("gvawatermark2").get_static_pad("src")
pad.add_probe(Gst.PadProbeType.BUFFER, pad_probe_callback)
from dlstreamer.
Hi @vtpl1
Sorry for the late response, I think you can figure out from the message object, it has a "src" field.
You can check MessageType in call back and check the channel info.
https://gstreamer.freedesktop.org/documentation/gstreamer/gstmessage.html?gi-language=python#GstMessageType
Mark
from dlstreamer.
Related Issues (20)
- WARNING: erroneous pipeline: no element "x264enc" HOT 13
- Regarding the problem of confusing bbox drawing after running gst launch in the 2023.0 version of the sample HOT 1
- docker file missing in latest release HOT 5
- incompatible function arguments during model conversion HOT 2
- yolo v8 custom models with 1 classes is throwing error
- yolo v8 custom models with 1 classes is throwing error HOT 9
- gvadetect failing to initialize HOT 10
- video/x-raw,: No such file or directory HOT 3
- How to Use βmodel-instance-id" HOT 4
- How to install packages with sudo inside the docker container intel/dlstreamer:latest HOT 5
- Running gvawatermark on the GPU HOT 1
- installation error dlstreamer with openvino 2023.2 HOT 4
- Debian file location for DL streamer 2022.3 HOT 2
- Custom YoloV5m Accuracy Drop in dlstreamer with model proc HOT 6
- Creating a Tensor Object in Python from a List like structure HOT 7
- Segfault when reuse same model with same model-instance-id. HOT 3
- Installation Error DLStreamer - Both Debian Packages and Compile from Sources HOT 16
- Performance DLStreamer (Gstreamer) vs Pure Openvino (without Gstreamer) for multiple real-time streams
- Compilation err when building DLstreamer 2023-release with OpenVINO 2023.2.0 HOT 10
- Docker image for arm64 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dlstreamer.