Giter Site home page Giter Site logo

Comments (6)

btalanski avatar btalanski commented on August 17, 2024 1

@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.

zkhan93 avatar zkhan93 commented on August 17, 2024 1

thanks @btalanski for pointing that out, I will add and example.env

from cctv.

zkhan93 avatar zkhan93 commented on August 17, 2024 1

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.

zkhan93 avatar zkhan93 commented on August 17, 2024

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.

btalanski avatar btalanski commented on August 17, 2024

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.

btalanski avatar btalanski commented on August 17, 2024

@zkhan93 thanks for sharing that!

from cctv.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.