2024-11-26, 14:51
(2024-11-26, 13:35)Oversized Wrote: Something like this?
If your network, wan and hardware are good enough that might work. Did it improve that 4K60 stream? You can press "Ctrl+Shift+o" to see the player debug info and check things out.
On my experience with the rpi5 even with 4k, as low as 16MB is good enough (if we go too high the stream takes more time to load and that may be annoying).
About the read factor, if you see your "vq" getting volatile and dropping under 50% or so, don't be afraid of bumping the read factor to the max (or close) and play around with it, ideally vq is at 99% 100% of the time while "aq" should be stuck above 89%.
About the chunk size, I would not go higher than that (on my PI the sweet spot is 128Kb). Play with it if you see audio lagging (the a/v value should always be in between -0.05 and 0.05 or tighter, or quickly fall back into that interval if any spikes occur.
I came to the conclusion that, with these settings, any buffering or audio lagging issue is due to some frequency mismatch (like those weird 59.94Hz) that some displays can't handle. To fix that, if it occurs, deselect the "sync playback to display" and let the display be the one to be adjusted to the best frequency with "adjust display refresh rate" on "on start/stop". Also, if needed any other change, go to "system" and make sure you have those display modes whitelisted and both "allow 3:2 pulldown" and "double refresh rates" on, to give the display more room to adjust.
Well this is what I've learned with my devices and I am pretty happy, hope it helps.
Oh, I just buffer "true internet streams", LAN/hardware is robust enough to handle real time streaming.