This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PATH_FICH=/mnt/usb/cams/xiaofang6 | |
DATE=`date +"%Y%m%d"` | |
TIME=`date +"%H%M"` | |
mkdir -p $PATH_FICH"/"$DATE | |
FILE_PREFIX=$PATH_FICH"/"$DATE"/cam_fang6-"$TIME"_%04d" | |
# Save during 300 seconds in 60 sec. chunks | |
ffmpeg -rtsp_transport udp -i rtsp://192.168.0.180:554/unicast -threads 3 -vcodec copy -f segment -segment_time 60 -r 10 -t 300 $FILE_PREFIX.mp4 -y 2>/dev/null & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"3f7b63ff.3a829c","type":"ui_dropdown","z":"e653f2e3.c8df6","name":"Select PTZ pos (get)","label":"","place":"PTZ pos (GET)","group":"53f0f46d.556d04","order":13,"width":0,"height":0,"passthru":false,"options":[{"label":"PTZ pos (GET)","value":"None","type":"str"},{"label":"Kitchen window","value":"1","type":"str"},{"label":"Living room sofa","value":"2","type":"str"},{"label":"Living room table","value":"3","type":"str"},{"label":"Kitchen table","value":"4","type":"str"},{"label":"Ceiling","value":"5","type":"str"},{"label":"Basement stairs","value":"6","type":"str"}],"payload":"","topic":"","x":200,"y":751.5,"wires":[["414983e1.bc9fc4","a8feb3d2.81fc78"]]},{"id":"9e25601f.ec9f28","type":"ui_dropdown","z":"e653f2e3.c8df6","name":"Select PTZ pos (set)","label":"","place":"PTZ pos (SET)","group":"53f0f46d.556d04","order":14,"width":0,"height":0,"passthru":false,"options":[{"label":"PTZ pos (SET)","value":"None","type":"str"},{"label":"","value":"1","type":"str"},{"label":"","value":"2","type":"str"},{"l |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
#------------------------------------------------------------------------------- | |
# Name: BitBucketConverter.py | |
# Purpose: Generate 'B0' message from received 'B1' data. | |
# | |
# Author: gerardovf | |
# | |
# Created: 05/09/2018 | |
#------------------------------------------------------------------------------- |