Comments (9)
Some delay is expected. Since we add an extra few steps into the process. If you do try a more powerful machine do let us know the results. I'm not sure what your setup is like but you might want to consider using Ethernet over Wi-Fi where you can.
We do try to keep that time down as best we can. I'm working on a rework of the gstreamer part of the code that I hope will improve things but won't know until it's complete.
from neolink.
Unfortunately my cameras are wi-fi only. Three of them even are battery operated (Argus Pro).
Actually I'm already surprised that neolink worked with these cameras, so don't get me wrong: my question was not intended as a criticism!
I don't have any better equipment to dedicate to neolink at the moment but I could try installing it on my desktop PC and see if this reduces the delay. I will report back as soon as I find the time to experiment.
Keep up the great work!
from neolink.
I meant the connection between the Wi-Fi router and your neolink. Try to get that part wired at least.
from neolink.
Oh, sorry for the misunderstanding.
Actually neolink is already onnected to the router via Ethernet cable.
from neolink.
Did some more testing with my Argus PT and Neolink 0.5.8. To me, it feels like the number of dropped frames have increased and the video is now very choppy when compared to 0.5.6. I initially thought it was probably my underpowered raspberry pi 4 causing issues, but have the same issue when running on my laptop as well. I've attached neolink and VLC logs if it can help. I'm happy to do some Wireshark diving as well, but haven't set it up yet.
VLC Debug Log (3.0.18 Vetinari).txt
from neolink.
Most likely you will be network io bound rather than the power of the board.
On my network I stuggle to view the 1080p stream at 25 fps. I've had a look into this a few times and most of the time neolink is just waiting for the camera to send another frame.
Things we can try though are increasing the vlc buffer size. The latest version now uses the time stamps from the camera so in theory if we can buffer a bit more we can present them using the stamped PTS at the right times.
Mind you I haven't tested how if gstreamer or the client are actually listening to the PTS I set. The gstreamer docs seem a bit vague on the correct way to do this.
I'll see if I can test a few more things once the mqtt is sorted out.
from neolink.
@Checksum see work in #68 about VLC hopefully that can help, would be nice if you could test with the setting suggested in #68 as well as the build
from neolink.
Ok so in my recent VLC experiments, I managed to tweaks things to only about 1s delay, however it was quite flakey when the buffer was that small so I have opted for a larger buffer of about 3-5s (depends on your fps). VLC will usually add about 1s on to that on top too.
Do try the latest build with its improvements to the buffer it seems to help keep the video steady.
I don't think there is much else I can do to address latency. If you can you might want to try ffmpeg (it is more forgiving than VLC) and you can also try in ffmpeg using options like genpts
to drop the time stamps and just play the frames as soon as they arrive.
from neolink.
Going to close this as it is not really a bug, I will of course keep trying to improve what I can with delay and smoothness of the streams.
Will also be adding an option soon to just pass frames on as is asap with worrying about time stamps in the event you just want minimal latency
from neolink.
Related Issues (20)
- Delayed MQTT Motion HOT 5
- Unable to stream from E1 using the latest neolink docker image HOT 2
- Can't connect to Cameras with 0.6.3-rc.1
- <jemalloc>: Unsupported system page size - docker on Debian 12 on rpi5 HOT 10
- Getting Neolink in Home Assistant working HOT 11
- ONVIF Support and Scrypted Two Way Audio HOT 1
- 'RTSP Staring' message should say 'RTSP Starting' HOT 1
- Can't integrate with Home Assistant. HOT 1
- Can't connect to Reolink Argus Track HOT 3
- error resol-vbus config issues HOT 4
- Possible infinite loop in NeoReactor push notification... HOT 9
- mainStream issues
- Neolink does not connect to MQTT broker. WARN: Connection Lost: Dropped connection HOT 2
- Document the Binary XML protocol & Update wireshark dissector. HOT 6
- Neolink causing excessive battery usage
- Registration with reolink servers failed HOT 12
- Neolink Memory Leak / Errors HOT 2
- Support building a MQTT-only version without the gstreamer dependency HOT 5
- Registering new push notification token: Error("missing field `token`", line: 7, column: 1) }) HOT 28
- Reolink Argus PT does not reconnect. HOT 2
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 neolink.