Comments (6)
@wfchan solved the issue by setting the following env vars in docker-compose file for the recorder
services:
- DURATION=600
- FORMAT=mp4
- SEGMENT_FORMAT=%Y-%m-%d_%H-%M-%S
@zkhan93 would be really nice you listed the env vars that needs to be set on the .env
file or docker-compose
services declaration.
from cctv.
thanks @btalanski for pointing that out, I will add and example.env
from cctv.
here's my .env file
############### DOCKER COMPOSE ############
OUT=/mnt/data/cctv
################### COMMON #############
TZ=Asia/Kolkata
################### RECORDER #################
FORMAT=mkv
DURATION=600
SEGMENT_FORMAT=%d-%m-%Y_%H%M%S
##################### MERGE #########################
CLEANUP_SPACE=45
CLEANUP_REGEX=.*-[0-9]+_\(cam[0-9]\|mosaic\).*
CLEANUP_DIR=/out/
############################ DELETE THIS LATER #####################
TIMEOUT_BUFFER=10
this is what I have on my server, there might be something that needs to be removed.
CLEANUP_SPACE is in GBs
from cctv.
can you give some more information on which container is failing with this error and some logs around it. also it would help if you can attach your compose file
from cctv.
I'm still struggling to get the merger
application to perform properly. It might be something related to a improper env value in my settings. That example .env
file will definitely help a lot!
Thank you very much for sharing this tool here on github.
from cctv.
@zkhan93 thanks for sharing that!
from cctv.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cctv.