From 42181e8cba94823183af7369e4fc672aae668f4e Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sun, 12 Nov 2023 09:44:20 +0500 Subject: [PATCH] use rtsp urls --- bot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.sh b/bot.sh index fa6b471..1c95d26 100755 --- a/bot.sh +++ b/bot.sh @@ -13,7 +13,7 @@ edited_image=data/edited_image_$date.png ################################################################################# echo Grabbing Image # Capture a frame from RTSP stream -mpv rtsp://$RTSP_IP --frames=1 --vo=image --ovc=png --o=$image >> /dev/null +mpv $RTSP_URL --frames=1 --vo=image --ovc=png --o=$image >> /dev/null echo Image grabbed #################################################################################