Skip to content
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

Allow Unfiltered Motion Frames to be Written to Disk #1

Open
triroc opened this issue May 26, 2013 · 6 comments
Open

Allow Unfiltered Motion Frames to be Written to Disk #1

triroc opened this issue May 26, 2013 · 6 comments

Comments

@triroc
Copy link

triroc commented May 26, 2013

The program has been working for a while. But after about one day, the program do not write files any more. The camera is started, but the files are not written to disk. Changing options or reinstalling the soft does not solve the problem.
Windows 7
Triroc

@sumdog
Copy link
Owner

sumdog commented May 26, 2013

Could you post a the logs (Go to About > LogViewer) when this occurs? Also, what video codec do you have selected? Are you running 32-bit or 64-bit?

@triroc
Copy link
Author

triroc commented May 27, 2013

I'm using 32 bits release, I have tried the 64 bits, but found that the 32 bits has more codecs and seems to works better.
The problem happens when I use "none" as motion detector type and Codec "Intel IYUV" or "Raw\Uncompressed". I made a few other tests and was able to reproduce the problem. The problems seems to happen with "none" as motion detector, sometimes files as written sometimes not. When files are not written, selecting a motion dectector other than "none" made the files created.
I do not understand exactly the behavior of motion detection; it adds color to the video when selected... When none is selected, it seems that there is no video output if there is no motion ??
Triroc

@triroc
Copy link
Author

triroc commented May 27, 2013

I'm using the 32 bits release, I have tried the 64 bits, but found that the 32 bits has more codecs and seems to works better.

The problem happens when I use "none" as motion detector type and Codec "Intel IYUV" or "Raw\Uncompressed". I made a few other tests and was able to reproduce the problem. The problems seems to happen with "none" as motion detector, sometimes the files as written sometimes not. When files are not written, selecting a motion dectector other than "none" made the files created again.

I do not understand exactly the behavior of motion detection; it adds color to the video when selected... When none is selected, it seems that there is no video output if there is no motion ??

As I can see, the problem occurs with “none” as motion detector. If you don’t want to have color added to the video, you have to select this option.
Do you have any user manual ?
Best Regards,
Denis

De : Sumit Khanna [mailto:[email protected]]
Envoyé : dimanche 26 mai 2013 23:36
À : sumdog/RearViewMirror
Cc : Rochat Denis
Objet : Re: [RearViewMirror] Files not written (#1)

Could you post a the logs (Go to About > LogViewer) when this occurs? Also, what video codec do you have selected? Are you running 32-bit or 64-bit?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-18470134.

@sumdog
Copy link
Owner

sumdog commented May 27, 2013

Ah gotcha. Yes, so None disables the motion detector and effectively disables writing video to the disk as a motion detector type is required to..well, detect motion.

I realize there is a lack of good documentation which needs to be worked on as well. The red outline comes from the actual motion detected. Each motion detector type uses a different filter and the difference of that filter is what you see in red.

I suppose a potential feature would be a checkbox indicating whether to display the motion filter. I have both the raw and filtered frame when the alertEvents handlers get triggers, so I could chose at that point which fame to use. This would have to be a new feature.

It might be a while before I can get to this with my work load. If anyone wants to take a hack at it, the relevant code is the AlertEvents class in the VideoSource.cs as well as the "Camera Events Handler" #region in the same file.

@triroc
Copy link
Author

triroc commented May 27, 2013

Thanks for these explanations.
What is strange is that None doesn’t disable all the time the writing. I have been able to produce video when NONE is selected, but not all the time. When files are produced with NONE selected, it seems that a motion detector is still in use (maybe the last one selected ??) If I understand well, the bug is to have (sometimes) files written when NONE is selected.
I would prefer a behavior that doesn’t disable output if NONE is selected. Or better , as you suggest, a checkbox indicating whether to display the motion filter .
I found another problem: some files are corrupted and cannot be read, this seems not to be related to the codec or motion detector.
Best,
Denis

De : Sumit Khanna [mailto:[email protected]]
Envoyé : lundi 27 mai 2013 11:14
À : sumdog/RearViewMirror
Cc : Rochat Denis
Objet : Re: [RearViewMirror] Files not written (#1)

Ah gotcha. Yes, so None disables the motion detector and effectively disables writing video to the disk as a motion detector type is required to..well, detect motion.

I realize there is a lack of good documentation which needs to be worked on as well. The red outline comes from the actual motion detected. Each motion detector type uses a different filter and the difference of that filter is what you see in red.

I suppose a potential feature would be a checkbox indicating whether to display the motion filter. I have both the raw and filtered frame when the alertEvents handlers get triggers, so I could chose at that point which fame to use. This would have to be a new feature.

It might be a while before I can get to this with my work load. If anyone wants to take a hack at it, the relevant code is the AlertEvents class in the VideoSource.cs as well as the "Camera Events Handler" #region in the same file.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-18489551.

@GITHUBLORD12345
Copy link

Yeah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants