Git Product home page Git Product logo

tiny-nvr's People

Contributors

hpaolini avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tiny-nvr's Issues

Multiple directories continually created, no video files

I tried to run this twice, the first time after I came back after a while I had no video files but numerous subdirectories named Camera_cA1Q Camera_6nrf etc. I stopped it, cleared all the folders, and tried again. This time I saw a single video file created that was less than half a MB in size with no actual audio/video and then it started created folders again. I'm sure I'm doing something wrong, just not sure what that might be.

How to record discontinuous rtsp stream?

I am trying to use this docker image with kubernetes. However the pod repeatedly goes into CrashLoopBackOff. I think this is due to the fact that my camera doesn't sends continuous feed (can be configured to, but don't want to). It only sends events video feed through rstp, i.e only when any activity is detected. When there is no activity, there is no feed and the pod errors out after some time leading to restart. The pod however records and saves the file when it is running and if there is any activity at that time.

My assessment may be incorrect. Any clue why the pod keeps restarting continuously. Following is the deployment yaml file.

kind: Deployment
apiVersion: apps/v1
metadata:
  name: rtsp
spec:
  replicas: 1
  selector:
    matchLabels:
      app: rtsp
  template:
    metadata:
      labels:
        app: rtsp
    spec:
      containers:
      - name: rtsp
        image: hpaolini/tiny-nvr
        # command: ["/docker-entrypoint.sh"]
        args: ["rtsp://192.168.1.127:554//live0", "My Room"]
        env:
        - name: PGID
          value: "1000"
        - name: PUID
          value: "1000"
        - name: TZ
          value: "America/New_York"
        - name: DIR_NAME_FORCE
          value: "true"
        - name: HOUSEKEEP_DAYS
          value: "30"
        - name: VIDEO_SEGMENT_TIME
          value: "900"
        - name: VIDEO_FORMAT
          value: mkv
        volumeMounts:
        - name: rtsp-volume
          mountPath: /usr/data/recordings
      volumes:
      - name: rtsp-volume
        hostPath:
          path: /mnt/recordings

Thanks.

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.