Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

WMA streaming

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


andrew.james.barr at gmail

Nov 13, 2006, 12:08 PM

Post #1 of 5 (2684 views)
Permalink
WMA streaming

Hello,

What are my options for Windows Media Audio streams on the 770? Most Internet
radio streams (I mean simulcasts of real broadcasts in this sense) are
offered in (at least) this format, which is supported by free software
(ffmpeg) up to version 2, the latest version I've ever seen anywhere.
However, no one seems to have had any luck with third-party codecs on this
device, much less for streaming. Is this device powerful enough to handle
decoding audio streams using C or ARM-assembly codecs (from ffmpeg)? It's
likely that the bitstream would be 16 to 24 kbps. I understand free tools for
the DSP aren't quite there yet, so that may not be an option.

--
Andrew Barr

Men go crazy in congregations they only get better one by one.
-- Sting, "All This Time" (The Soul Cages, 1991)
_______________________________________________
maemo-developers mailing list
maemo-developers[at]maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


siarhei.siamashka at gmail

Nov 23, 2006, 11:02 AM

Post #2 of 5 (2618 views)
Permalink
Re: WMA streaming [In reply to]

On Monday 13 November 2006 22:08, Andrew Barr wrote:

> What are my options for Windows Media Audio streams on the 770? Most
> Internet radio streams (I mean simulcasts of real broadcasts in this sense)
> are offered in (at least) this format, which is supported by free software
> (ffmpeg) up to version 2, the latest version I've ever seen anywhere.
> However, no one seems to have had any luck with third-party codecs on this
> device, much less for streaming. Is this device powerful enough to handle
> decoding audio streams using C or ARM-assembly codecs (from ffmpeg)? It's
> likely that the bitstream would be 16 to 24 kbps. I understand free tools
> for the DSP aren't quite there yet, so that may not be an option.

FFmpeg library contains WMA decoder and MPlayer supports it at least on
x86 desktop PC. There are some problems with its support on ARM though.

First and the most easy to fix is that WMA decoder seems to have some
alignment problems, so it crashes on any attempt to play WMA files. This is
quite easy to workaround by running 'echo 3 > /proc/cpu/alignment' as root,
see https://maemo.org/maemowiki/PortingFromX86ToARM and the links at it
for more information.

A major problem with WMA decoder is that it uses floating point math. And
having no FPU in hardware, Nokia 770 does not seem to be able to decode
128kbps WMA files to play them in realtime (sound is skippy). So it is not
very useful unless somebody finds (or implements) a fixed point WMA decoder.

However I also tested 20kbps WMA sample and it worked fine with CPU load
at about 60%. So if anybody would like to have such low bitrate WMA
files/streams supported, I can have a look at these alignment problems, fix
them and release updated version of MPlayer for everyone to use.
_______________________________________________
maemo-developers mailing list
maemo-developers[at]maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


siarhei.siamashka at gmail

Nov 28, 2006, 12:48 AM

Post #3 of 5 (2605 views)
Permalink
Re: WMA streaming [In reply to]

On Thursday 23 November 2006 21:02, you wrote:

> On Monday 13 November 2006 22:08, Andrew Barr wrote:
> > What are my options for Windows Media Audio streams on the 770? Most
> > Internet radio streams (I mean simulcasts of real broadcasts in this
> > sense) are offered in (at least) this format, which is supported by free
> > software (ffmpeg) up to version 2, the latest version I've ever seen
> > anywhere. However, no one seems to have had any luck with third-party
> > codecs on this device, much less for streaming. Is this device powerful
> > enough to handle decoding audio streams using C or ARM-assembly codecs
> > (from ffmpeg)? It's likely that the bitstream would be 16 to 24 kbps. I
> > understand free tools for the DSP aren't quite there yet, so that may not
> > be an option.
>
> FFmpeg library contains WMA decoder and MPlayer supports it at least on
> x86 desktop PC. There are some problems with its support on ARM though.
>
> First and the most easy to fix is that WMA decoder seems to have some
> alignment problems, so it crashes on any attempt to play WMA files. This is
> quite easy to workaround by running 'echo 3 > /proc/cpu/alignment' as root,
> see https://maemo.org/maemowiki/PortingFromX86ToARM and the links at it
> for more information.
>
> A major problem with WMA decoder is that it uses floating point math. And
> having no FPU in hardware, Nokia 770 does not seem to be able to decode
> 128kbps WMA files to play them in realtime (sound is skippy). So it is not
> very useful unless somebody finds (or implements) a fixed point WMA
> decoder.
>
> However I also tested 20kbps WMA sample and it worked fine with CPU load
> at about 60%. So if anybody would like to have such low bitrate WMA
> files/streams supported, I can have a look at these alignment problems, fix
> them and release updated version of MPlayer for everyone to use.

Well, the latest maemo build of MPlayer now supports WMA audio (with that
extremely inefficient cpu usage and unability to play high bitrates). But it
can play internet radio streams, for example running the following works:

# mplayer mms://wm05.nm.cbc.ca/cbcr1-calgary-low

On the other hand, standard audio player seems to support WMA files playback
just fine :) Does it have problems with internet radio? Or you just tried to
look for free alternatives? What was the reason for asking this WMA
streaming question in the first place?
_______________________________________________
maemo-developers mailing list
maemo-developers[at]maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


andrew.james.barr at gmail

Nov 28, 2006, 7:22 AM

Post #4 of 5 (2611 views)
Permalink
Re: WMA streaming [In reply to]

On Tue, 2006-11-28 at 10:48 +0200, Siarhei Siamashka wrote:
> Well, the latest maemo build of MPlayer now supports WMA audio (with that
> extremely inefficient cpu usage and unability to play high bitrates). But it
> can play internet radio streams, for example running the following works:
>
> # mplayer mms://wm05.nm.cbc.ca/cbcr1-calgary-low
>
> On the other hand, standard audio player seems to support WMA files playback
> just fine :) Does it have problems with internet radio? Or you just tried to
> look for free alternatives? What was the reason for asking this WMA
> streaming question in the first place?

I was unaware that the standard audio player played WMA at all...I knew
it played RealPlayer streams but in the past I'd had problems with it. I
tried a few Real streams and they did seem to work...never tried the WMA
though.

Free alternatives are always better but if it works I suppose it is fine
for now. I wouldn't have asked if I knew that the standard audio player
did WMA.

/Andrew

_______________________________________________
maemo-developers mailing list
maemo-developers[at]maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


farrisg at shaw

Nov 28, 2006, 6:36 PM

Post #5 of 5 (2606 views)
Permalink
Re: WMA streaming [In reply to]

On Tue, 2006-28-11 at 10:48 +0200, Siarhei Siamashka wrote:
> On Thursday 23 November 2006 21:02, you wrote:
>

> Well, the latest maemo build of MPlayer now supports WMA audio (with that
> extremely inefficient cpu usage and unability to play high bitrates). But it
> can play internet radio streams, for example running the following works:
>
> # mplayer mms://wm05.nm.cbc.ca/cbcr1-calgary-low
>
> On the other hand, standard audio player seems to support WMA files playback
> just fine :) Does it have problems with internet radio? Or you just tried to
> look for free alternatives? What was the reason for asking this WMA
> streaming question in the first place?

I certainly can't seem to stream this directly from the audio player.
Mplayer yes but not the 770 audio player.


--
George Farris
farrisg[at]shaw.ca


_______________________________________________
maemo-developers mailing list
maemo-developers[at]maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.