hpaolini / tiny-nvr Goto Github PK
View Code? Open in Web Editor NEWDocker container to capture IP camera streams
Home Page: https://hub.docker.com/r/hpaolini/tiny-nvr
Docker container to capture IP camera streams
Home Page: https://hub.docker.com/r/hpaolini/tiny-nvr
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.
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.
Seems like a great idea to have zero-bullshit
, easy to use, free and open-source NVR software.
I had to use 2019a-r0
to get this working. Version is hardcoded at https://github.com/hpaolini/tiny-nvr/blob/master/Dockerfile#L32
this can be executed on a old laptop (32bits)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.