I'm playing back some videos (nothing fancy) via libVLC. From time to time the video hangs for roughly 1 second, then continues normally. During that time neither the CPU, the GPU nor my SSD seem to be busy at all.
To get to the bottom of this, I enabled the debug log. There I found the following:
So I have three questions now:ore debug: Buffering 0%
core debug: Buffering 0%
core debug: Buffering 0%
core debug: Buffering 0%
core debug: Buffering 0%
...BUFFERING STAYS AT 0% FOR MAAAAAANY LLINES MORE...
core debug: Buffering 0%
core debug: Buffering 0%
core debug: Buffering 0%
core debug: Buffering 0%
core debug: Buffering 0%
core debug: Buffering 6%
core debug: Buffering 13%
core debug: Buffering 19%
core debug: Buffering 26%
core debug: Buffering 33%
core debug: Buffering 39%
core debug: Buffering 46%
core debug: Buffering 53%
core debug: Buffering 59%
core debug: Buffering 66%
core debug: Buffering 73%
core debug: Buffering 79%
core debug: Buffering 86%
core debug: Buffering 93%
core debug: Buffering 99%
core debug: Stream buffering done (319 ms in 84 ms)
core debug: End of video preroll
core debug: Received first picture
core debug: Decoder wait done in 1146 ms
- Could that be related to my issue? Or could there be another explanation for the stuttering?
What could cause this issue?
How can I fix it? E.g. could I just increase the buffer size somehow? Or even force the full video to be buffered?