LPCM raw stream bug
#1
Hi all,

I am trying to play LPCM audio on XBMC and I have a problem because XBMC does not play LPCM raw streams. I've only hear some strange noises. Also, I've seen in the log that XBMC "thinks" that it is MP3 so I suppose thats why I hear strange noises.

The result is different if the LPCM audio is inside a MPEG_PS container. In this case XBMC knows it is LPCM and it plays it correctly.

What do you think? Should I report a bug on the XBMC bug tracker?

Regards,

Vanesa.
_________________________
XBMC version: Dharma beta.
SO: Ubuntu Lucid.
Reply
#2
the probe in ffmpeg must be bad. issue with a sample, interesting, without, useless Smile
Reply
#3
I've played it in vlc too (which uses also ffmpeg) and the result is the same, I only can hear a noise.

Instead, if I play it in totem, I can hear the audio correctly.

You can download a sample file from http://www.megaupload.com/?d=CRU652HM
Also from http://hotfile.com/dl/80197994/16dd904/LPCM.html or from http://netload.in/dateiMlrYLHB42H.htm

Clarification: Sorry, the explanation is not correct. XBMC fails if I try to play the file from an HTTP server, not if I play it as is.
The same for vlc and totem.
So, it is the XBMC HTTP client which is failing, it shoudl say XBMC which kind of content must play by looking at the "Content-type" header.
In this case, the header is "Content-Type : audio/L16;rate=44100;channels=2".

Regards,

Vanesa.
Reply
#4
Ok, I'll be more specific. I have done some other tests.
I have Rygel server (http://live.gnome.org/Rygel) serving LPCM content transcoded from whatever format or codec via http.
When I try to hear the content in XBMC, I can see in the log that avutil, avformat and avcodec are loaded. Then these libraries (I supposse) determine that the content is MP3 (which is not, it is LPCM) and then try to decode mp3 so I hear a noise (not the music at all).

The same issue with vlc, but, in this case, I can't hear anything. It doesn't know the type of the content and doesn't play anything. vlc uses also the former libraries.

Instead, with totem, which uses gstreamer, like Rygel, I can hear the audio correctly. Maybe there is a compatibility problem.
Regards,
Vanesa.
Reply

Logout Mark Read Team Forum Stats Members Help
LPCM raw stream bug0