Page 1 of 1

Speex file playable via vlc plugin but cant play directly

Posted: 13 Sep 2013 12:24
by eastprussia
Does anyone know why this speex file recorded at 32kHz will not play through the VLC Player? I compared its header in hex to others and it looks ok although I am no expert on what its header should contain, it loads into the VLC player but just stops when play is pressed however if I place on my web server then the vlc plugin on my web browser plays it fine. I've tried the latest VLC player and gone right back to a year ago in release and all show the same problem with this file. I've placed the file in a dropbox link which is below, the file contains a recording of radio so there is no sensitive information in it, if anyone has a clue to whats going on here could they let me know? Thanks :-

Link
https://www.dropbox.com/s/kkwbnelzl0j5u ... _32kHz.spx

Re: Speex file playable via vlc plugin but cant play directl

Posted: 15 Sep 2013 09:33
by Lotesdelere
Strange file, many players and MediaInfo can't detect its bitrate and/or its duration:

Code: Select all

Overall bit rate : 0 bps ... Duration: 953142778wk 1d 21:54:25.728 (9223372036854775808 samples)

VLC (also VLC 2.1.0-rc2) does not like it, indeed:

Code: Select all

main warning: clock gap, unexpected stream discontinuity main warning: feeding synchro with a new reference point trying to recover from clock gap ... main debug: using decoder module "speex" speex debug: Speex 32000 Hz audio using ultra-wideband (sub-band CELP) mode (stereo) main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% ... main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: EOF reached main debug: Stream buffering done (0 ms in 306 ms) main debug: Decoder buffering done in 0 ms main debug: finished input main debug: removing module "speex"

It sounds really bad with a lot of crackles.
However many players (including foobar, AIMP, MPlayer) can play it.

And also FFplay:

Code: Select all

Input #0, ogg, from 'audio_32kHz.spx': vq= 0KB sq= 0B f=0/0 Duration: 00:21:43.58, start: -5061.294906, bitrate: 31 kb/s Stream #0:0: Audio: speex, 32000 Hz, stereo, s16 -5037.74 A-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0

You should create a new ticket on the VLC Trac with your messages log and the links to your file and to this thread.

Re: Speex file playable via vlc plugin but cant play directl

Posted: 16 Sep 2013 15:13
by eastprussia
The vlc log messages sound like this could be down to an unstable clock perhaps? I'll create a new ticket and place a reference to it on this thread. Thank you Lotesdelere for the testing and capturing that you've done, greatly appreciated, I shall create a ticket now and place reference to it here.

Re: Speex file playable via vlc plugin but cant play directl

Posted: 16 Sep 2013 16:24
by eastprussia
Ticket 9398 has been created to track this issue :-
https://trac.videolan.org/vlc/ticket/9398