-
Notifications
You must be signed in to change notification settings - Fork 143
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
Daylight Savings Snafu? #244
Comments
I'm on my phone right now and can't look closely, but it wouldn't surprise me to learn we have a time zone bug in the UI layer. The JavaScript time libraries available are really sketchy wrt time zone changes unfortunately. |
Interesting, when I tried to focus on a 2 minute segment which should be at 1:05 AM PDT, Saturday 11/5, I entered a start time of 01:05:50 and an end time of 01:06:36. What is displayed on the table are my specified times. So, I appear to be off 1 hour based on the timestampe burned into the video. I therefore try to compensate, and change my "01:" to "02:" on both start and end times. What is then displayed in the table are values of 03 instead of 02. Then I tried just changing the start time to "01:" so I have specified 1 hour + 1 minute, and then three table entries appear offering just over 2 hours instead of the expected 1 hour. If I click the 2nd table entry, I can then access the video I want with the burned-in time of "01:05". So, I'm almost at a "it works for me" work-around, the problem I still face is I like to be able to view a video, set my start and end times based upon what I actually want to preserve. In this case, I can display the video, but it is in a huge segment, e.g. ~ 1 hour. I want to be able to save only a 46 second section. I tried the Max Video settings, but found there to be a 1 hour minimum. What would be helpful for me is the ability to extract a 0 minute 46 second video starting at the burned-in time of 1:05:50. (Documents a guy hopping a fence to avoid detection of the security lights.) |
I'm at a computer now and see the same broken behavior on fall back day. Fortunately the backend's time handling is solid. If I needed that clip right now, I would go to the video clip with the correct start time and save the URL via the browser's context menu. E.g., clicking here in Chrome: and ending up with e.g. |
Thank you, Scott. Yes, it looks like the video is there, just having a problem getting it accessible through the web browser. I'm having problems following your instructions. I tried with Firefox, but could not get a precision timecode, e.g. the 90k number ("90k Precision") following a decimal point, so I tried with Chrome and cannot discern what you mean by the "browser's context menu". When I try copying the the Video Address, I do not get the 90k Precision. Here's what goes into my clipboard when I Copy Video Address from Chrome: Now, I do see a listing via this URL: So, I thought perhaps I might find the video file using the criteria of 421652, but no luck: Could the fact that I am using a version of Moonfire-nvr as of April rather than the current high watermark be what is causing my URLs not to have high precision 90k seconds? I've been reticent to upgrade until I know I can commit a couple of hours or 1/2 day of potential downtime. (We have a lot happening in Penny Lane camera coverage (5 cameras), including a Lady Godiva bicyclist who mooned the cameras in protest. The story that is evolving about The Midnight Gardener, the person my cameras have been documenting as as possible suspect for theft, is becoming legend within our historic district and beyond.) |
The URL
The URL format hasn't changed in a while. It's just about the clip you're starting from. I selected a specific start time that was in the middle of a recording, so mine had a |
Oh, here's an alternate workaround that may be easier: restart Moonfire with the environment variable |
Just to pin this down, I successfully accessed the 56 second segment I wanted by:
So my url becomes: You're modify the URL by inserting a dot followed by a negative number. Thank you, Scott. |
The downside is that if you are sharing the site with people not familiar with timezone differences, this could confuse them. I share my site with people who are not technically inclined, so keeping the time to Pacific Time removes an obstacle. |
Glad you got what you needed for now. I'd love to fix this properly, even to the level of having a date time chooser that lets you disambiguate the fall back hour ( |
Preface: I have a Reolink RLC-420 which had an incorrect setting for the "set-back" time for Daylight savings time, the time was set back Oct 31st when it should have been set back on November 6th. I was unaware of the incorrect setting until the filing of this issue. This is disclosed to avoid confusion when looking at screenshots herein.
On Sunday morning, November 6th (after Daylight Savings set back earlier in the day), I was reviewing Saturday, November 5th, recordings. I had found a recording of interest which Reolink's software captured at 2:05 AM:
I use Moonfire-nvr to retrieve a full snapshot since Reolink's start and end time of snippets is invariably insufficient. So I went to the Moonfire-nvr web interface to get a better snapshot of the event occurring at Saturday, 11/5 at 2:04 AM PDT. I had performed a refresh of the web page as I usually do when I start a session to review recordings.
What is strange is that I specified a start and stop time of approximately 1 hour (1:05 - 2:06), yet 3 hours worth of video appear. I took screenshots of each of the three videos shortly after they commenced running and aligned the screenshots with the table entries.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A table of videos which total approximately 1 hour.
Server (please complete the following information):
Camera (please complete the following information):
Desktop (please complete the following information):
Additional context
The date on the Raspberry Pi is correct for my timezone:
The text was updated successfully, but these errors were encountered: