Describe the bug
The documentation states that there is about 1 second of latency at all times. It appears that this is an issue with mpv, not SysDVR. I was able to get it to near realtime, within maybe 200ms or so due to Wi-Fi.
To Reproduce
Install and set up SysDVR in "Simple network mode"
Some of this may not be necessary, but specifically the final option, makes the video stream near real time. I can provide evidence of this if necessary. But this is the mpv command line I used.
mpv rtsp://192.168.0.29:6666 --no-correct-pts --fps=30 --rtsp-transport=udp --no-cache --keep-open --hwdec=vdpau --hwdec-codecs=all --vo=gpu --video-sync=audio --profile=low-latency
Expected behavior
As per the guide, I expected there to be about a 1-2 second delay, which there is, ONLY when I do not use the low-latency profile in mpv.
Setup information
PC OS: Arch Linux x86_64
Console firmware: 16.0.3
Custom firmware name and version: Atmosphere 1.5.4|S
SysDVR version: 5.5.5 Full
Additional context
Perhaps update to documentation to list this option to decrease latency by a lot? If it can get to ~200ms with my crappy WiFi router, I'm sure that under better condtitions, like Ethernet, or USB, it could be even better.
Compression is probably going to brutally murder this demonstration video (that was already shot with a crappy camera), but it should still be visible. As you can see from this demo video of the Sonic Origins intro, there is obviously still latency (particularly noticeable when it fades to white at the end), it isn't perfect, but it's MUCH less than 1 second. I would say it's about 200-300ms. This isn't actually verified, that's just a guess, but under ideal conditions I imagine it could be even faster.
Describe the bug The documentation states that there is about 1 second of latency at all times. It appears that this is an issue with mpv, not SysDVR. I was able to get it to near realtime, within maybe 200ms or so due to Wi-Fi.
To Reproduce
mpv rtsp://192.168.0.29:6666 --no-correct-pts --fps=30 --rtsp-transport=udp --no-cache --keep-open --hwdec=vdpau --hwdec-codecs=all --vo=gpu --video-sync=audio --profile=low-latency
Expected behavior As per the guide, I expected there to be about a 1-2 second delay, which there is, ONLY when I do not use the
low-latency
profile in mpv.Setup information
Additional context Perhaps update to documentation to list this option to decrease latency by a lot? If it can get to ~200ms with my crappy WiFi router, I'm sure that under better condtitions, like Ethernet, or USB, it could be even better. Compression is probably going to brutally murder this demonstration video (that was already shot with a crappy camera), but it should still be visible. As you can see from this demo video of the Sonic Origins intro, there is obviously still latency (particularly noticeable when it fades to white at the end), it isn't perfect, but it's MUCH less than 1 second. I would say it's about 200-300ms. This isn't actually verified, that's just a guess, but under ideal conditions I imagine it could be even faster.
https://github.com/exelix11/SysDVR/assets/72118300/481fec59-2014-4ca2-9cf9-2f5c096cc640