QCP (PureVoice QCELP) audio speeds up
(This is the open issue from the two playback issues I reported in ticket #5347 (closed))
I made a bunch of voice recordings years ago on my Sanyo feature phone and they're stored as QCP files. VLC 2.0.0 on Kubuntu 12.04alpha2 amd64 has trouble playing some of them, the audio speeds up (pitch increases). I had the same problem with VLC 1.1 both Windows (Vista 32-bit) and Linux (Kubuntu 11.04 64-bit), I haven't tried reproducing with VLC 2.0.0 on Win32. The Qualcomm PureVoice SDK plays and converts these files fine.
Someone else reported "the audio speeds up and slows down at random" in the forum thread http://forum.videolan.org/viewtopic.php?f=14&t=83000
Here's part of the output from cvlc --verbose 3 samples/speeds_up_towards_end.qcp
:
[0xc74108] main libvlc debug: revision 2.0.0-0-g421a4fc
...
[0x7fd1f4c11418] main decoder debug: End of audio preroll
[0x7fd1f8000b28] main input debug: Decoder buffering done in 22 ms
[0x7fd200004128] main audio output warning: PTS is out of range (-9825), dropping buffer
[0x7fd200004128] main audio output warning: PTS is out of range (-26784), dropping buffer
[0x7fd200004128] pulse audio output debug: deferring start (57722 us)
[0x7fd200004128] main audio output warning: buffer too late (60125), up-sampling
[0x7fd200004128] pulse audio output debug: starting deferred
[0x7fd200004128] pulse audio output debug: started
[0x7fd200004128] pulse audio output debug: listing sink alsa_output.pci-0000_00_02.7.analog-stereo (0): Built-in Audio Analog Stereo
[0x7fd200004128] main audio output warning: timing screwed, stopping resampling
[0x7fd200004128] main audio output warning: buffer too late (95875), up-sampling
[0x7fd200004128] main audio output warning: timing screwed, stopping resampling
[0x7fd200004128] main audio output warning: buffer too late (149125), up-sampling
[0x7fd200004128] main audio output warning: buffer way too late (181750), dropping buffer
...
The last message repeats several times, before the audio speeds up.
I attached a sample speeds_up_towards_end.qcp file and the full debug output speeds_up_towards_end_vlc2.0.log to issue #5347 (closed); I can attach duplicates of them to this bug if you want.