Open lida2003 opened 6 months ago
@stephendade Never mind, I have sort out the issue. I'll add the link the test data later.
EDIT(Test Data): ZeroTier in my region is slow. Maybe a moon node should be added to improve the performance.
PS: OV5647+Pi3B+ 720P 30FPS configuration.
Currently, I don't think it's packet loss or 4G LTE signal issue.
But I'm NOT sure what cause the video image has quite a lot of noise mosaic.
especially in the below situation:
The noise mosiac you're seeing is H264 compression artefacts. Does increasing the bitrate work? Otherwise, I may need to tweak the encoder settings.
There is not much improvement changing bitrate from 1100kbps to 2000kpbs, but latency increased. And It didn't improve either from 720P to 1080P.
Can you guide me, let me know where I can change and do the tests?
Can you try some higher bitrates - 5000 to 10000kbps? I found that much of the noise disappears above 5000kbps.
Also, you may need to mount your camera on some anti-vibration mounts. On multirotors and fixed-wing aircraft, heavy vibration can mess with the H264 encoder.
Well, if I set bitrate to 5000kbps, It seems NOT good for 4GLTE and above 2000Kbps, then latency will increase.
So right now, I'm just using bitrate below 2000kbps, typically 1500kbps.
Can you tell me where I can change to tweak the encoder settings? And I can test locally, if any progress, I will update to the post.
On the RPi, run v4l2-ctl -d 11 --list-ctrls-menu
to get the x264 hardware encoder settings.
Those settings then go into here: https://github.com/stephendade/Rpanion-server/blob/master/python/rtsp-server.py#L148
Note, I recently pushed a large patch to rtsp-server.py
, so you may need to git pull
on your RPi.
The use of 4G LTE networks often results in significant screen freezing and stuttering.
However, when connected via wired or Wi-Fi networks with a VPN, these issues do not occur.
Are there any solutions available? FEC/QOS ???? any configuration that can help?
EDIT: