pageauc / speed-camera

A Unix, Windows, Raspberry Pi Object Speed Camera using python, opencv, video streaming, motion tracking. Includes a Standalone Web Server Interface, Image Search using opencv template match and a whiptail Admin Menu Interface Includes picam and webcam Plugins for motion track security camera configuration including rclone sync script. watch-app allows remotely controller camera configuration from a remote storage service name. Uses sqlite3 and gnuplot for reporting. Recently added openalpr license plate reader support.
Apache License 2.0
960 stars 169 forks source link

rtsp stream not detected. #132

Closed Jurrjuna closed 1 year ago

Jurrjuna commented 1 year ago

"It seems like the RTSP stream is not being detected by the speedcam. The stream is visible in VLC, and in the speedcam configuration, I have the following camera settings: CAMERA = "IPCAM" and IPCAM_SRC = "rtsp://192.168.178.124:8554/stream1/". Any assistance or suggestions would be greatly appreciated. Thank you!"

2023-06-01_105131 2023-06-01_105240

pageauc commented 1 year ago

Try adding your camera's userId:password@ per config comment (case sensitive. Also make sure the stream is a low res path stream0 on VLC shows 640x480. You could also try removing final slash / at end

Although I convert for case you might also try changing CAMERA = "ipcam'" Claude

On Thu, Jun 1, 2023 at 5:00 AM Jurrjuna @.***> wrote:

"It seems like the RTSP stream is not being detected by the speedcam. The stream is visible in VLC, and in the speedcam configuration, I have the following camera settings: CAMERA = "IPCAM" and IPCAM_SRC = "rtsp:// 192.168.178.124:8554/stream1/". Any assistance or suggestions would be greatly appreciated. Thank you!"

[image: 2023-06-01_105131] https://user-images.githubusercontent.com/24192343/242543633-d5d7a45a-15db-4c6e-94b7-7df10da44e7e.jpg [image: 2023-06-01_105240] https://user-images.githubusercontent.com/24192343/242543750-575ec813-76ea-4fd3-a349-44588ed0e59a.jpg

— Reply to this email directly, view it on GitHub https://github.com/pageauc/speed-camera/issues/132, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNPKZHFHF2LLOH3ATYJBHLXJBK25ANCNFSM6AAAAAAYWTDUTU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- YouTube Channel at https://www.youtube.com/user/pageaucp http://www.youtube.com/user/pageaucp GitHub Repository at https://github.com/pageauc

Jurrjuna commented 1 year ago

Dear Claude,

Your suggestions worked!

Changed the following options: CAMERA = "ipcam" to CAMERA = "IPCAM"
IPCAM_SRC = "rtsp://192.168.178.124:8554/stream1/" to IPCAM_SRC = "rtsp://:@192.168.178.124:8554/stream1" And also changed resolution to 320x240.

Thank you and have a nice day.

pageauc commented 1 year ago

Thanks for the update. Regards Claude

On Thu, Jun 1, 2023 at 6:24 AM Jurrjuna @.***> wrote:

Closed #132 https://github.com/pageauc/speed-camera/issues/132 as completed.

— Reply to this email directly, view it on GitHub https://github.com/pageauc/speed-camera/issues/132#event-9401360290, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNPKZC44RR6VRKZFT24CU3XJBUW3ANCNFSM6AAAAAAYWTDUTU . You are receiving this because you commented.Message ID: @.***>

-- YouTube Channel at https://www.youtube.com/user/pageaucp http://www.youtube.com/user/pageaucp GitHub Repository at https://github.com/pageauc