use rtsp urls

This commit is contained in:
Shihaam Abdul Rahman 2023-11-12 09:44:20 +05:00
parent c1d4bcd2d1
commit 42181e8cba
Signed by untrusted user: shihaam
GPG Key ID: 6DA2E87EBC227636

2
bot.sh
View File

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