use rtsp urls
This commit is contained in:
parent
c1d4bcd2d1
commit
42181e8cba
2
bot.sh
2
bot.sh
@ -13,7 +13,7 @@ edited_image=data/edited_image_$date.png
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
echo Grabbing Image
|
echo Grabbing Image
|
||||||
# Capture a frame from RTSP stream
|
# 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
|
echo Image grabbed
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user