(deepstream-test5-app:23222): GStreamer-WARNING **: 01:09:46.139: Name ‘src_cap_filter’ is not unique in bin ‘src_sub_bin0’, not adding
Creating LL OSD context new
0:00:03.423538280 23222 0x298fc300 WARN nvinfer gstnvinfer.cpp:515:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:useEngineFile(): Failed to read from model engine file
0:00:03.423615209 23222 0x298fc300 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:initialize(): Trying to create engine from model files
0:00:03.423774431 23222 0x298fc300 WARN nvinfer gstnvinfer.cpp:515:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:generateTRTModel(): INT8 not supported by platform. Trying FP16 mode.
0:02:12.964284941 23222 0x298fc300 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:generateTRTModel(): Storing the serialized cuda engine to file at /opt/nvidia/deepstream/deepstream-4.0/samples/models/Primary_Detector/resnet10.caffemodel_b1_fp16.engine
Runtime commands:
h: Print this help
q: Quit
p: Pause
r: Resume
NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
To go back to the tiled display, right-click anywhere on the window.
i think you have a typo there … after i change to nvvideoconvert it runs. but how do i verify it ??
also how do i use deepstream app to do the same ??
gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,format=UYVY,width=1280,height=720,framerate=30/1 ! videoconvert ! video/x-raw,format=I420 ! nvvideoconvert ! ‘video/x-raw(memory:NVMM),format=I420’ ! nvoverlaysink
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
i tried . similar err . with this config file source1_usb_dec_infer_resnet_int8.txt it can not read the engine file defined model-engine-file=…/…/models/Primary_Detector/resnet10.caffemodel_b30_int8.engine
(deepstream-app:16087): GStreamer-WARNING **: 17:24:58.750: Name ‘src_cap_filter’ is not unique in bin ‘src_sub_bin0’, not adding
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***
Opening in BLOCKING MODE
Creating LL OSD context new
0:00:02.900897010 16087 0x10f08d90 WARN nvinfer gstnvinfer.cpp:515:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:useEngineFile(): Failed to read from model engine file
0:00:02.900994147 16087 0x10f08d90 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:initialize(): Trying to create engine from model files
0:00:02.901259726 16087 0x10f08d90 WARN nvinfer gstnvinfer.cpp:515:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:generateTRTModel(): INT8 not supported by platform. Trying FP16 mode.
0:02:09.345437539 16087 0x10f08d90 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:generateTRTModel(): Storing the serialized cuda engine to file at /opt/nvidia/deepstream/deepstream-4.0/samples/models/Primary_Detector/resnet10.caffemodel_b1_fp16.engine
Runtime commands:
h: Print this help
q: Quit
p: Pause
r: Resume
NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
To go back to the tiled display, right-click anywhere on the window.
I got deepstream-test5-app -c configs/deepstream-app/source1_usb_dec_infer_resnet_int8.txt
working. but I have to do below two things
Disable [primary-gie] becuase there is no resnet10 in part of deepstream sdk
enable=0
model-engine-file=…/…/models/Primary_Detector/resnet10.
2.I noticed that there are 3 dev node /dev/video0 /dev/video1/ /dev/video2
so in the config file source0 I tried camera-v4l2-dev-node=1 and camera-v4l2-dev-node=2 they both works . but only camera-v4l2-dev-node=0 is failing.
(deepstream-test5-app:25415): GStreamer-WARNING **: 23:05:22.440: Name ‘src_cap_filter’ is not unique in bin ‘src_sub_bin0’, not adding
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***
Opening in BLOCKING MODE
Creating LL OSD context new
Runtime commands:
h: Print this help
q: Quit
p: Pause
r: Resume
NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
To go back to the tiled display, right-click anywhere on the window.
** INFO: <bus_callback:189>: Pipeline ready
** INFO: <bus_callback:175>: Pipeline running
ERROR from src_elem: Internal data stream error.
Debug info: gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstV4l2Src:src_elem:
streaming stopped, reason not-negotiated (-4)
Quitting
App run failed
=================================================================================
here is v4l2-ctl dump on /dev/video0
realsense camera provide depth image and rgb image i saw /dev/video2 is RGB image but i dont know how the depth image are create out of /dev/video0 and /dev/video1 . probably realsense sdk do some other processing to create the depth image. if that is the case. how do I plugin the realsense sdk driver into deepstream. should I write a application on top of realsense sdk . so instead deepstream read from /dev/video0 1 2 it read from my application as src into deepstream ?
Hi,
Please run ‘gst-inspect-1.0 v4l2src’ to get supported formats. It looks like the non-working formats are not supported by gstreamer frameworks. Since DS SDK is based on gstreamer, some device nodes on RealSense cameras may not be opened. A general usecase of USB cameras is to run in YUV422 such as UYVY, YUY2.
One possible solution is to add one type(ex: type=6) to support appsrc. In the implementation, you need to convert Z16 into NV12 and create source bin like
gst-inspect-1.0 v4l2src
Factory Details:
Rank primary (256)
Long-name Video (video4linux2) Source
Klass Source/Video
Description Reads frames from a Video4Linux2 device
Author Edgard Lima edgard.lima@gmail.com, Stefan Kost ensonic@users.sf.net
Plugin Details:
Name video4linux2
Description elements for Video 4 Linux
Filename /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so
Version 1.14.5
License LGPL
Source module gst-plugins-good
Source release date 2019-05-29
Binary package GStreamer Good Plugins (Ubuntu)
Origin URL gst-plugins-good1.0 package : Ubuntu
Hi,
I think gstreamer does not support z16 in v4l2src plugin. But maybe I am wrong since I don’t have experience to sun realsense camera in gstreamer pipeline.
Could you please go to http://gstreamer-devel.966125.n4.nabble.com/
v4l2src is native gstreamer plugin and gstreamer forum users may have experience in running it with realsense cameras.
I have a fps question. ./deepstream-test5-app -c configs/deepstream-app/source1_usb_dec_infer_resnet_int8_color_display.txt and i set 1920x1080 30 fps in the conig file.