Comments (5)
What connection method are you using with the camera? RTSP with UDP or TCP ? ONVIF?
I would suggest you check what kind of FPS you get on VLC first to compare - I believe my devices give 15FPS and the recordings (files) generated reflect that. You could have some sort of network congestion causing slowness on the stream too (my 2.4ghz wifi is heavily congested and sometimes that causes my stream to be slow even inside the tuya app).
In any case the device is running the same ppsapp - there should be no difference in performance using the app with/without the changes but I can’t say much for their quality of RTSP/ONVIF code (it usually works well enough).
These are definitely not ‘professional’ level devices but it’s still nice being able to use RTSP/ONVIF and record together with other devices instead of being forced to use the app.
If by any chance you’re using the MJPEG URL you should know there’s no guarantee of FPS with that - it is mostly just a rig for view/monitoring the output but it is not intended for recording.
from merkury1080p.
I'm experiencing the same problems, aware of the quality of the HW but my server log on my NVR (Milestone Xprotect Essentials+) is flooded with disconnects and 15 FPS is not achieved.
I'm using RTSP / TCP and I'm having trouble on all camera's:
- 3x Indoor camera 1080
- 1x Outdoor camera
- 1x Doorbell
The WiFi is not congested and signal is 70 - 90% according to the Tuya app on android.
Ping is mostly 14ms but spikes every few seconds to as high as 150ms.
Is there anything I can do to improve on the connection time-outs and FPS other then using the stream on channel 102?
I have made sure all options in Tuya_config are disabled, recording, motion detection etc. etc. except for ONVIF.
I have yet to try the snapshot or MJPEG "streams"
from merkury1080p.
@sanscorp1 snapshot/MJPEG will never have good FPS (and has no audio) -- the MJPEG we have on these devices is a 'rig' I made mostly for preview.
With RTSP if you're using TCP (and not UDP) I would expect it to be stable and functional unless you're having wifi congestion (which is not uncommon on 2.4Ghz).
I would suggest you telnet into the devices and execute top
then watch the CPU% usage before the NVR/RTSP connection and after -- If the CPU is close to 90% (or more) most of the time then your NVR may not be using TCP connection and the high CPU load may be the reason for timeout/FPS issues. If it is staying below 90% CPU usage then the only explanation would be wifi connection/congestion issues. I have tested streaming full HD on my doorbell with VLC for many hours at a time without any issues, so I know it is possible, but you also have to remember that multiple cameras on wifi streaming at once will also slow down your 2.4Ghz band by themselves already so you should try 1 camera by itself, then add another and so on to see if you get better results -- then consider making separate wifi (on different channel) to split up the cameras if required.
from merkury1080p.
I have been monitoring the CPU and it is averageing arround 20% on all cams.
WiFi is not congested, very few AP's nearby and I'm using openwrt on enterprise 4 AP's (Aerohive).
Also, the Tuya stream in the android app isn't showing this behaviour of disconnects. There is more latency though.
Would it be possible to run a seperate "onvif server" on the camera's?
from merkury1080p.
@sanscorp1 The TUYA app does NOT use ONVIF/RTSP so it should not be used as any basis for comparison.
I suggest you try different apps on phone or PC (i.e. VLC) to see if the streams are stable (and I would run all cameras at once).
if there's no issue with one app/device and there's with another app/device then it is most likely some sort of incompatibility/issue with the device where the issue is showing up (i.e. NVR).
I will say a lot of people report odd issues with the ONVIF/RTSP from these devices so the incompatibility may be due to their ONVIF/RTSP implementation on the cameras.
I would not recommend adding any other kind of servers on these cameras as they're overloaded as-is, besides you would not be able to make a streaming server while keeping their proprietary app working as it already using the video hardware.
You could setup a ffmpeg rtsp client+server on a machine to stream from the cameras and re-stream into your NVR to see if it would prevent the disconnects/timeouts but this most certainly would add latency to the stream (something like this: https://stackoverflow.com/questions/66538527/ffmpeg-capture-a-rtsp-stream-and-re-stream-it-to-another-rtsp-server -- notice his comment about wallclock parameter). You could try with one camera, then 2, then all (if you use the same machine you'll need to give a different port for each camera).
from merkury1080p.
Related Issues (20)
- Issues with rooting Mini 11S HOT 18
- Weird Password Issue HOT 6
- Mini 11S / 4.0.7 - Can't install hack [User error] HOT 2
- Mini 11-S Firmware 5.2 HOT 8
- feature request: offline mode HOT 2
- Will this work on firmware version 5.2.8? HOT 16
- Rtsp stream does not start without the internet HOT 2
- Damn, I bricked my camera! HOT 20
- LSC Indoor IP Camera Firmware v7.6.32 HOT 178
- Merkury Smart Security Camera (MIC-CW020-101W) - Firmware 5.2.7 HOT 3
- Merkury 1080P (MIC-CW017-101W) - Firmware Version 4.0.7 - Patch Request HOT 30
- Cannot get Bullet 4S to work with hack HOT 9
- Merkury Mi-CW017 help HOT 3
- LSC Smart Outdoor (IP) Camera - Hack not working HOT 115
- tuya_config.json missing in LSC Smart Home Camera Mini 16S HOT 2
- Snapshot quality HOT 3
- ppsapp patch request HOT 20
- Firmware 5.2.1 OEM device MINI7S-A5MB_F37 REV 1_0 2021-06-11 HOT 20
- GNC-CW020, Firmware V4.40.5 HOT 2
- Paid Patch Request HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from merkury1080p.