Speex playback is truncated in ogg
Hello,
I noticed that the beginning of a speex file is never played under VLC. Can be easily check with the following attachments:
- one-ten.wav : original audio file (in PCM format).
- one-ten.spx : speex conversion of the original file using speexdrop utility. one-ten.spx is correctly played in speexdrop or well converted back using speexdec.exe. But in VLC first two seconds are not played.
After some investigations, it’s appears that the first audio page (page with number 2) in ogg file is not played. As a Ogg page can hold up to 65025 bytes and Speex can compress easily to 8000kbps, it’s possible to store 1 minute of audio in one page!
Some thoughts:
- In fact missing audio is not skipped but replaced by a silence.
- Perhaps this issue is not dedicated to speex files, but common to all ogg files.
- VLC 2.0.3 has the same issue.
Thanks in advance
Daniel
Edited by Jean-Baptiste Kempf