VLC audio playback issues
Posted: 23 Jul 2011 17:29
Hi,
I often (ok, actually more feels like usually) experience unpleasent timing issues in VLC that lead to jumpy/stuttering (muted for fractions of seconds in regular intervalls) audio playback in both audio only and audio/video files, no mattter the file format. Except for slight differences in the exact patterns of the disruptions or their length, this happens in Windows and Linux and on different PCs.
This usually happens when playback just started or is resumed and most of the time just lasts for ~4 seconds. Also on all tested systems, the playback of a file usually stops up to 3 secs too early before the end of file.
There are various messages in the debug log ranging from the usual PTS related stuff like "main warning: output date isn't PTS date, requesting resampling" or "main warning: PTS is out of range" to "pulse debug: underflow" (on Ubuntu).
I kind of gave up hope to get *the* answer that can sort out all these problems for me and some occasions of these problems are also definitely caused by poor onboard sound hardware, but for the other cases where VLC is the only program having trouble with audio playback, I'm wondering: Is it just me or what is the problem with VLCs timing and audio syncing mechanisms?
Maybe I'm a bit naive, but can it really be that hard to just shove rendered audio data to sound hardware in time? At least I don't know any other media players with such blatant flaws in audio playback...
I often (ok, actually more feels like usually) experience unpleasent timing issues in VLC that lead to jumpy/stuttering (muted for fractions of seconds in regular intervalls) audio playback in both audio only and audio/video files, no mattter the file format. Except for slight differences in the exact patterns of the disruptions or their length, this happens in Windows and Linux and on different PCs.
This usually happens when playback just started or is resumed and most of the time just lasts for ~4 seconds. Also on all tested systems, the playback of a file usually stops up to 3 secs too early before the end of file.
There are various messages in the debug log ranging from the usual PTS related stuff like "main warning: output date isn't PTS date, requesting resampling" or "main warning: PTS is out of range" to "pulse debug: underflow" (on Ubuntu).
I kind of gave up hope to get *the* answer that can sort out all these problems for me and some occasions of these problems are also definitely caused by poor onboard sound hardware, but for the other cases where VLC is the only program having trouble with audio playback, I'm wondering: Is it just me or what is the problem with VLCs timing and audio syncing mechanisms?
Maybe I'm a bit naive, but can it really be that hard to just shove rendered audio data to sound hardware in time? At least I don't know any other media players with such blatant flaws in audio playback...