Simple Web based video stream monitor. #490
mattheys
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Why mpeg dash and not hls? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, just thought I would share my simple web based video monitor using MPEG-DASH to stream the video. This isn't strictly Frigate related but people might find it useful.
I like it as it's a quick way to pull up all my cameras in one go and because I'm only transcoding audio the cpu usage is really minimal. There is a slight delay on the streams, maybe 30s but I like this because if I've heard something I want to check out then it's still in the buffer when I open the page, plus I don't need any software installed to access it.
I'm still trying to work out how I can get the player to attempt to recconect if there is an interuption in the stream but a refresh on the page works as long as the stream has resumed.
TMPFS
First of all I created a tmpfs mount point to store the videos on, this gives you 100MB on /tmp/dash but depending on the number of cameras or history you want to keep you will need to adjust that value. You can't do this directly with docker as dockers tmpfs mounts can't be shared with other containers.
Add this to your /etc/fstab
tmpfs /tmp/dash tmpfs defaults,noatime,nosuid,nodev,mode=1777,size=100M 0 0
and then
sudo mount -a
Docker
HTML
You need to include the dash javascript library otherwise the video tags don't work.
Beta Was this translation helpful? Give feedback.
All reactions