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 #################################################################################