NVIDIA-AI-IOT / deepstream_lpr_app

Sample app code for LPR deployment on DeepStream
MIT License
209 stars 62 forks source link

How to use RTSP Server as input. #36

Open chanwitkepha opened 8 months ago

chanwitkepha commented 8 months ago

I try to use RTSP as input in lpr_app_infer_us_config.yml

source-list:
   use-nvmultiurisrcbin: 1
   list: rtsp://192.168.11.244:8554/media.smp

source-attr-all:
  enable: 1
  type: 3
  num-sources: 1
  gpu-id: 0
  cudadec-memtype: 0
  latency: 100
  rtsp-reconnect-interval-sec: 0
.........................

When I run command ./deepstream-lpr-app lpr_app_infer_us_config.yml

It show error like this

ERROR from element file_src_0: Resource not found.
Error details: gstfilesrc.c(532): gst_file_src_start (): /GstPipeline:pipeline/GstFileSrc:file_src_0:
No such file "rtsp://192.168.11.244:8554/media.smp"
Returned, stopping playback
Average fps 0.000233
Totally 0 plates are inferred
Deleting pipeline

Please suggest how to use RTSP Server as input of deepstream_lpr_app, Thank you.

Note: I have been test This RTSP Server, It's working properly.

image

image