The Computer Oracle

VLC Caching levels

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Take control of your privacy with Proton's trusted, Swiss-based, secure services.
Choose what you need and safeguard your digital life:
Mail: https://go.getproton.me/SH1CU
VPN: https://go.getproton.me/SH1DI
Password Manager: https://go.getproton.me/SH1DJ
Drive: https://go.getproton.me/SH1CT


Music by Eric Matyas
https://www.soundimage.org
Track title: The World Wide Mind

--

Chapters
00:00 Vlc Caching Levels
00:48 Accepted Answer Score 9
01:28 Thank you

--

Full question
https://superuser.com/questions/229921/v...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#streaming #vlcmediaplayer #latency #cache

#avk47



ACCEPTED ANSWER

Score 9


Latency is an extremely complicated subject and there's an article about it on the all-knowing wiki

To put it simply, it is the time which passes from the moment a packet is sent to the moment you receive it. So if you set the caching to high latency, it will cache more data before it starts playing. So if you're having buffer underruns, you need to set it to high latency.

Another interesting point is that packets do not arrive in the same order they are sent. So it can happen that if you're playing sound file at say location 5s, you can get packets from location 5.1s before those form 5s. Player will need to compensate for that using cache, so packets form later time period will have to wait.