Skip to content

Instantly share code, notes, and snippets.

@ivanursul
Created April 22, 2018 09:03
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
#!/bin/sh
cd /home/pi/camera
date=`date '+%Y/%m/%d/'`
time=`date '+%H:%M:%S'`
mkdir -p $date
avconv -y -loglevel debug -rtsp_transport tcp -i "rtsp://admin:Dadmin17@194.44.110.210:37002/cam/realmonitor?channel=1&subtype=0" -q:v 9 -s 1920x1080 -vframes 1 $date$time.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment