That is prolly the same CPU power saving bug that has bothered VLC for years. Currently power saving things like Cool and Quiet etc. don't notice that VLC wants CPU cycles. So CPU frequency is kept too slow, setting the Windows power mode to full power should solve it.
This helped! Thanks!
Same problem: The audio was stuttering every 8-13 seconds (didn't count really).
The power plan didn't helped directly, but changing the settings of the "power saving thing" EPU-6 Engine (a tool for ASUS P5Q Series Motherboard) to High Performance (0% over-/underclocking, default fan speed, etc.) helped. Before, it was on -1% of CPU frequency. Therefore, I tested the 3% of CPU frequency overclocked setting and it happened to work fine without stuttering.
I also noticed that the stuttering lasted longer when the file caching value was higher.
On lower caching values it lasted shorter, but on value 0 it was just like 300ms.
Nevertheless, here are debug messages before and after changing the CPU frequency (the comments are edits by me).
Before
with file caching value on 100ms:
Code: Select all
main debug: auto hiding mouse cursor
main warning: audio output out of sync, adjusting dates (-43443 us)
main warning: not synchronized (-43443 us), resampling
main warning: audio output out of sync, adjusting dates (-40034 us)
main warning: not synchronized (-40033 us), resampling
main warning: buffer way too early (-125848), clearing queue
main warning: timing screwed, stopping resampling
main debug: audio output is starving (-176319), playing silence // <-- the stuttering happend here
main warning: audio output out of sync, adjusting dates (-44743 us)
main warning: not synchronized (-44743 us), resampling
main warning: buffer too early (-44744), down-sampling
main warning: audio output out of sync, adjusting dates (-42518 us)
main warning: not synchronized (-42517 us), resampling
main warning: timing screwed, stopping resampling
main warning: buffer too early (-77948), down-sampling
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main warning: audio output out of sync, adjusting dates (-44503 us)
main warning: not synchronized (-44502 us), resampling
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
with file caching value on 500ms:
Code: Select all
main warning: audio output out of sync, adjusting dates (-42712 us)
main warning: not synchronized (-42712 us), resampling
main warning: timing screwed, stopping resampling
main warning: buffer too early (-77167), down-sampling
main warning: audio output out of sync, adjusting dates (-41759 us)
main warning: not synchronized (-41758 us), resampling
main warning: audio output out of sync, adjusting dates (-43606 us)
main warning: not synchronized (-43605 us), resampling
main warning: buffer way too early (-128301), clearing queue
main warning: timing screwed, stopping resampling
main debug: audio output is starving (-516509), playing silence // <-- the stuttering happend here
main warning: audio output out of sync, adjusting dates (-44549 us)
main warning: not synchronized (-44548 us), resampling
main warning: buffer too early (-44548), down-sampling
main debug: auto hiding mouse cursor
direct3d debug: Created 64x64 texture for OSD // paused video
main debug: auto hiding mouse cursor
with file caching value on 5000ms:
Code: Select all
main warning: audio output out of sync, adjusting dates (-43934 us)
main warning: not synchronized (-43934 us), resampling
main warning: timing screwed, stopping resampling
main warning: buffer too early (-79760), down-sampling
main warning: audio output out of sync, adjusting dates (-44361 us)
main warning: not synchronized (-44361 us), resampling
main debug: auto hiding mouse cursor
main warning: audio output out of sync, adjusting dates (-43000 us)
main warning: not synchronized (-43000 us), resampling
main warning: buffer way too early (-132891), clearing queue
main warning: timing screwed, stopping resampling
main debug: audio output is starving (-1634071), playing silence // <-- the stuttering happend here
direct3d debug: Created 64x64 texture for OSD // paused video
After
(default settings)
Code: Select all
main warning: audio output out of sync, adjusting dates (60027 us)
main warning: not synchronized (60028 us), resampling
qt4 debug: Title 1
qt4 debug: Chapter: 5
main warning: audio output out of sync, adjusting dates (65809 us)
main warning: not synchronized (65810 us), resampling
main warning: buffer too late (125499), up-sampling
main warning: resampling stopped after 16102605 usec (drift: 854)
main warning: audio output out of sync, adjusting dates (66716 us)
main warning: not synchronized (66717 us), resampling
main warning: buffer too late (65862), up-sampling
main warning: resampling stopped after 11604932 usec (drift: 367)
main warning: audio output out of sync, adjusting dates (64257 us)
main warning: not synchronized (64257 us), resampling
main warning: buffer too late (63890), up-sampling
direct3d debug: Created 64x64 texture for OSD // paused video after about 5 minutes
It's working, but I'm still wondering about the warnings, because when I disable audio there is no warning at all.
After all, the warnings doesn't appear as often as before.