Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeout: invalid time interval 'ffmpeg' #2

Closed
wfchan opened this issue Jun 15, 2023 · 6 comments
Closed

timeout: invalid time interval 'ffmpeg' #2

wfchan opened this issue Jun 15, 2023 · 6 comments

Comments

@wfchan
Copy link

wfchan commented Jun 15, 2023

timeout: invalid time interval 'ffmpeg'
Try 'timeout --help' for more information.

@zkhan93
Copy link
Owner

zkhan93 commented Jun 17, 2023

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

@btalanski
Copy link

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

@zkhan93
Copy link
Owner

zkhan93 commented Jul 19, 2023

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

@btalanski
Copy link

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.

@zkhan93
Copy link
Owner

zkhan93 commented Jul 20, 2023

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

@btalanski
Copy link

@zkhan93 thanks for sharing that!

@zkhan93 zkhan93 closed this as completed Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants