redaction_with_deepstream icon indicating copy to clipboard operation
redaction_with_deepstream copied to clipboard

ERROR from element camera-source: Internal data stream error

Open mmhzlrj opened this issue 1 year ago • 2 comments

jet@jet-nano:/opt/nvidia/deepstream/deepstream-6.0/sources/apps/redaction_with_deepstream$ sudo ./deepstream-redaction-app -c configs/pgie_config_fd_lpd.txt [sudo] password for jet: Now playing from webcam

Using winsys: x11 0:00:23.984407105 11588 0x5590232ed0 INFO nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1900> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-6.0/sources/apps/redaction_with_deepstream/fd_lpd_model/fd_lpd.caffemodel_b1_gpu0_fp32.engine INFO: [Implicit Engine Info]: layers num: 3 0 INPUT kFLOAT data 3x270x480
1 OUTPUT kFLOAT output_cov 4x17x30
2 OUTPUT kFLOAT output_bbox 16x17x30

0:00:24.016324928 11588 0x5590232ed0 INFO nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2004> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-6.0/sources/apps/redaction_with_deepstream/fd_lpd_model/fd_lpd.caffemodel_b1_gpu0_fp32.engine 0:00:24.931192903 11588 0x5590232ed0 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus: [UID 1]: Load new model:configs/pgie_config_fd_lpd.txt sucessfully Pipeline ready Pipeline running ERROR from element camera-source: Internal data stream error. Error: Internal data stream error. Returned, stopping playback jet@jet-nano:/opt/nvidia/deepstream/deepstream-6.0/sources/apps/redaction_with_deepstream$

mmhzlrj avatar May 30 '23 09:05 mmhzlrj

Hi @wkelongws , @nvsshailesh, @nvbrupde, @dusty-nv

mmhzlrj avatar May 30 '23 10:05 mmhzlrj

If you are on a Nvidia Jetson using a CSI-2 Camera try changing https://github.com/NVIDIA-AI-IOT/redaction_with_deepstream/blob/3af138c6046fbc69aef08790a4487a54627bd296/deepstream_redaction_app.c#L292 to

source = gst_element_factory_make ("nvarguscamerasrc", "camera-source");

bmpohl avatar Aug 30 '23 12:08 bmpohl