Not sure, but you may try to remove the first ‘t.’.
Tee plugin has it own output and in your case it has no sink.
You would use ‘t.’ only for 2nd, 3rd,… subpipelines.
Hi, did you success to do it?
as I experienced, I could not do appsink and filesink at the same time using videocapture opencv.
let me know if I’m wrong!
(python:20850): GStreamer-WARNING **: 15:13:32.731: Trying to link elements t and queue0 that don't share a common ancestor: queue0 hasn't been added to a bin or pipeline, and t is in pipeline0
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (711) open OpenCV | GStreamer warning: Error opening bin: syntax error
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
Traceback (most recent call last):
File "app/yolocam/test_camset.py", line 66, in <module>
assert cap.isOpened(), 'Failed to open '
AssertionError: Failed to open
this is without the first t.
(python:20864): GStreamer-CRITICAL **: 15:13:54.275: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (711) open OpenCV | GStreamer warning: Error opening bin: syntax error
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
i’m trying to get something similar working. i think the fundamental issue is that you need to have “emit-signals=True” and somehow attach a callback to a “new-sample” signal. i’ve not been able to get this working thus far for a parsed pipeline.