kerberos-io / agent

An open and scalable video surveillance system for anyone making this world a better and more peaceful place.
https://kerberos.io
MIT License
642 stars 78 forks source link

Recordings saved with no file type #57

Closed bradjwilson closed 1 year ago

bradjwilson commented 1 year ago

Problem

I cannot view recordings in Kerberos Agent.

I get this error: error

After downloading the recording, it is saved as "video" with no file extension.

I can see and watch the recordings just fine in my Kerberos Hub

Troubleshooting Done

Host Specs

bradjwilson commented 1 year ago

Seems to only happen when viewing agents in firefox.

cedricve commented 1 year ago

Thanks for reporting @bradjwilson, do you have some extensions missing for Firefox?

bradjwilson commented 1 year ago

I cannot find any extensions that help with embedded video playback in firefox.

It happens on both Ubuntu and macOS.

I tried running firefox in safe mode and doing clean installs, and the problem persists.

yllekz commented 1 year ago

Same issue. Broken in Firefox. Needs to work in Firefox. The camera's raw feed works in Firefox so it's an issue within this container only.

skoobasteeve commented 1 year ago

Confirmed not working in Firefox, but I also wasn't able to play it in Chromium. Player loaded but no video.

Screenshot_20221209_192909

My downloaded videos all save as "Video" with no file extension, could be part of the issue? I can play them back locally without a problem.

cedricve commented 1 year ago

@skoobasteeve could be that the video is still recording, and therefore not playable. Can you confirm you could review older footages in chrome. We plan a bigger release next week with some additional features and capabilities. We will tackle the firefox issue. Will come back on this issue!

skoobasteeve commented 1 year ago

@cedricve I can confirm that on Chromium it's not letting me play back completed recordings.

On another note, should I seeing thumbnails of the videos or is that a planned feature?

Thanks!

skoobasteeve commented 1 year ago

@cedricve Digging into it a little more, seems that it works fine in Google Chrome but not Chromium.

cedricve commented 1 year ago

thank you @skoobasteeve for additional feedback. We will redesign the media page indeed, the idea is that you will be able filter (like the old agent) and we load the first frame of the recording (=thumbnail). I believe something is going wrong with the content-type, I'll provide a fix asap.

cedricve commented 1 year ago

Looks like it fixed thanks to this commit: https://github.com/kerberos-io/agent/commit/9ec52d445dfe4a7150c0cf7c63bb9040a22565b8. Closing please reopen if not the case for you.

Pull latest container version docker pull kerberos/agent:latest and re-run the container.