ERROR from element camera-source: Internal data stream error

Hi, I am learning Deepstream by usinng Jetson Nano 2GB. I just git clone the redaction_with_deepstream from https://github.com/NVIDIA-AI-IOT/redaction_with_deepstream.git and ran sudo ./deepstream-redaction-app -c configs/pgie_config_fd_lpd.txt on terminal under the redaction_with_deepstream path. And this is how it shows:

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

Any suggestions? Thanks

Are you using this sample to expose /dev/video0 of the camera?

What camera model are you using?

The system show I can not upload attachments. I can only show the model file and engine file. I don know for sure if thoes are what you asking.
Screenshot from 2023-06-01 10-49-42

The readme.md shows By default, app tries to run /dev/video0 camera stream.. But the Log shows Now playing from webcam
And I also try to run sudo ./deepstream-redaction-app -c configs/pgie_config_fd_lpd.txt /dev/video0

Here is the terminal log:

Now playing from webcam

Using winsys: x11 
0:00:38.943459832  8510   0x55806116c0 INFO                 nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1900> [UID = 1]: deserialized trt engine from :/home/jet/jetson-inference/examples/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:38.963829952  8510   0x55806116c0 INFO                 nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2004> [UID = 1]: Use deserialized engine model: /home/jet/jetson-inference/examples/redaction_with_deepstream/fd_lpd_model/fd_lpd.caffemodel_b1_gpu0_fp32.engine
0:00:39.422350451  8510   0x55806116c0 INFO                 nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary-nvinference-engine> [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
Deleting pipeline

By the way I am using a CSI camera as /dev/video0

Problem solve. I remove the CSI camera and keep the usb camera as /dev/video0.