Video stream recording server using python/ffmpeg.
174
Prepare docker-compose.yml and run the next command:
$ docker-compose up --build
After the server up recording will start accordingly.
version: '3.9'
services:
stream-recording-server:
image: suxumi/stream-recording-server:1
volumes:
- ./data:/data
restart: always
environment:
CAM_RECORDINGS_PATH: '/data/recordings'
CAM_VIDEO_STREAM: 'rtsp://user:pass@ip:554/live/ch0'
# CAM_NAME: 'Camera 1'
# CAM_RECORDINGS_MAX_SIZE: 1
# CAM_VIDEO_RECORDING_DURATION: 10
# CAM_VIDEO_RECORDING_FPS: 30
# CAM_IMAGE_STREAM: 'rtsp://user:pass@ip:554/live/ch0'
# CAM_IMAGE_INTERVAL: 10
# CAM_IMAGE_QUALITY: 15
Content type
Image
Digest
Size
284.3 MB
Last updated
over 4 years ago
docker pull suxumi/stream-recording-server:1