-
Notifications
You must be signed in to change notification settings - Fork 90
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
Sound events aren't recorded & On detection: invalid msg 0x6004 #831
Comments
The log you see is related to dispatch process: a Yi process. Which type of audio codec are yuo using for rtsp? |
I had disabled the RTPS stream. But I just turned it on now for testing (stream resolution: low). Tested with the audio codecs pcm, alaw, ulaw, acc but unfortunately there is no improvement. Should I perhaps test something else? |
What's your model suffix? |
Sorry, it is a r35gb, YRS, 12.1.47. Yes, if a motion was detected, there is sound in the video. |
Hello and excuse me for the off-topic. I also have a Dome Guard but an older one r30gb and also problems with the sound. Can you please tell me how I can start this log? When I run "ipc_read -n 9" I only get @ signs and no code number, motion or sound messages. |
@Dotatay Edit in your SD card root the file: lower_half_init.sh. |
You should try to sniff the ipc messages. ipc_sniff.gz Pay attention: the sound detection algorithm checks an abnormal sound. If you have a very loud environment the cam will not detect a sound, you need loud sound in quiet environment. |
The output from ipc_sniff was not easy to understand, but now I have found the correct values that can be reproduced consistently. But the "\x" characters are not present.
Motion:
When running
|
Yes, it's correct. \x is the prefix for hexadecimal format.
And this is the message related to the sound detection, so detection is working.
Use -d option. |
Without SD card, sound and motion events are recorded.
With the -d option, the outputs are similar to ipc_sniff: I thought that text messages ("MOTION_START") would have to be output like in the webhook-script by ivanfor: |
Up... |
With the examples and commands from above, I get the same results. |
I'm checking it but this task requires a lot of time. |
After some further investigation I was able to reproduce the problem. If cloud is enabled, when I play a loud sound, the cam detects the event and send the notification to the cloud. If cloud is disabled, when I play a loud sound, the cam detects the event but it can't send the notification to the cloud. The only explanation is that the video is recorded by the cloud. |
Sorry for the late reply. If I remove the hack-SD from my r30gb and replace it with a yi-app formatted SD. Then are sound event videos also recorded onto the SD. |
Ok, test in progress. |
I have problems with the sound event detection. No video is recorded when there are abnormally loud noises. The motion events work reliably.
Because of the problem, I searched for similar posts and looked at the outputs of your ipc_multiplex.so.
I noticed that sound events are always logged as "invalid msg 0x6004":
Motion events are always named and assigned:
Is this a normal behavior?
The text was updated successfully, but these errors were encountered: