-
Notifications
You must be signed in to change notification settings - Fork 904
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
Not recording for the full period configured #1094
Comments
Motion software had a bug where recorded movies playback faster than it's supposed to. This bug has been fixed on master, but hasn't made it into motionEyeOS. One way to tell if you're affected by this bug is to check the timestamp added into the movie. If the timestamp covers the entire hour, but movie duration is less than 1 hour, then you're affected by this bug. |
It's weird. The timestamp actually doesn't cover the full hour. Calculating the duration from the timestamps gives 41:34. The next file in the series is named "14-49-28.avi" and the starting timestamp is of course 14:49:28 |
I've gone through all my recorded videos and I'm seeing it on one of my longer videos. I only record when there's motion, and it works perfectly when the video is short. On one occasion where the video duration was long, it got cut short unexpectedly and the motion was not recorded anymore. |
@adrian0 I highly suspect Motion-Project/motion#492 is the culprit for the short recording. I've been through motion's source code and there's no flushing of the codec's buffer. |
I wonder if recording smaller windows of time (say, half hourly) would be a good workaround. |
@adrian0 I've reworked the encoding code in motion software and added draining of codec. Are you able to test this version that's on my fork? |
Should be able to install it tonight.
Full, clean install, right?
…On 6 September 2017 at 11:13, jasaw ***@***.***> wrote:
@adrian0 <https://github.com/adrian0> I've reworked the encoding code in
motion software and added draining of codec. Are you able to test this
version that's on my fork?
https://github.com/jasaw/motioneyeos/releases/tag/20170827-drain-codec
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1094 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFEmGRWca_4FQ0CACP_ERwkSeCIfTcwaks5sffGxgaJpZM4PBGvt>
.
|
@adrian0 Yes, clean install from scratch if it's not too much trouble. |
Minor Issue noted:
After making a couple of config changes (strangely - Turning on System
Monitoring and Overclocking to 950MHz) and then restarting the system,
somehow my admin password was lost and I could not log in.
Required an entire re-install.
Anyway, it's up and running now.
Camera is facing my car park (dark and mostly black images until the
outside sensor light comes on).
I'll report back tomorrow night on what was captured and length etc of the captured files.
Thanks.
…On 6 September 2017 at 11:44, jasaw ***@***.***> wrote:
@adrian0 <https://github.com/adrian0> Yes, clean install from scratch if
it's not too much trouble.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1094 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFEmGT7MfdSznzRxwBMdGTmALAyIZXmeks5sffkSgaJpZM4PBGvt>
.
|
@adrian0 Regarding the password, I am having the same issue referenced in the post above https://github.com/ccrisan/motioneyeos/issues/1116, does your password happen to be all caps or have capital letters in it? |
Looking good, @jasaw and @ccrisan ! Filename 06:58:12.avi. FIlename 07-58-14.avi. The delta between filename and the starting timestamp is not something I'd consider a defect. Nice work! |
@adrian0 Thank you for testing this. I'm trying to merge this fix to upstream motion, but I need to know your configuration. |
Hey, @jasaw , Seems I need to re-image the sd card. I'll get to that in the next few days. |
OK, It seems as though its recording full hour long video While I have your attention....Great work by you guys! |
Oh, another minor issue with the fork created by @jasaw I have 2x MotionEyeOS cameras.... Camera 1 is running @jasaw's fork Camera 2 = motionEye Version 0.36.1, Motion Version 4.0.1+git37b3595, OS Version motionEyeOS 20170710 From Camera 2 (@jasaw's fork) , I can add Camera 1 and view both video feeds from the Camera 1 dashboard. However, from Camera 2, I am unable to add Camera 1. |
The authentication problem was fixed after my forked release. |
Hi @jasaw hope you are well. But even though I am configured to record 3600s of video per file, I am only getting 35m 51s (2151s) Regards, |
@adrian0 You might want to upgrade to motionEyeOS 20171008, which has all my work merged in. Make sure you choose the OMX version as your movie format for hardware accelerated video encoding, e.g. H264/OMX. |
Will do. Interestingly, my installations which use 20171003 report that they are up to date. Rock on, @jasaw ! |
Thanks @adrian0. Your devices are only looking for stable release by default. Version 20171008 is still a pre-release, so didn't show up on your devices. |
My codec draining fix has been merged into upstream motion and made it into recent motionEyeOS releases, so shouldn't have this recording problem anymore. Closing issue. |
NIce work. Thanks @jasaw. |
Hello.
I am runniing the latest MotionEyeOS on a Pi Zero W with a 64Gb SD card.
I have it configured for continuous recording and motion detection off and a maximum movie length of 3600 seconds.
I get one file every hour. Each of these files starts from 48, 49 or 50 minutes past the hour.
But the files are only 35 minutes and 50 seconds in length. (sometimes 35m 51s or 35m 52s)
So, I am missing 25 minutes out of every hour.
Anyone else have this happening?
The text was updated successfully, but these errors were encountered: