[MPlayer-users] Help with WMAv2 Stream...

Justin C. Ferguson mplayer at jferg.lusars.net
Tue Oct 19 16:12:21 CEST 2004


	Ok - I've been trying for several days now to get mplayer to play a WMAv2
(WMA8) stream, with no success, and I'm about to just start beating my head 
against the wall.  
	The stream can be found at http://153.91.42.26:8090/.  Windows Media 
player plays it just fine; the info that WMP shows for it is:

	Bit rate: 96Kbps
	Media Type: Audio
	Audio codec: Windows Media Audio V8 
		     96 kbps, 44 kHz, stereo
        Location: http://153.91.42.26:8090/  

(The .wax playlist file can be found at: 
				http://www.ktbg.fm/broadcast-broadband2.wax)

I've found that I have to pass it the same user-agent as WMP does in order 
to even get a response out of it - the commandline I'm currently using is:

mplayer -user-agent "NSPlayer/9.0.0.3250 WMFSDK/9.0" http://153.91.42.26:8090/ \
	-v -v -rawaudio "on:format=0x161:bitrate=96:rate=44100:channels=2"

...but I've tried a lot of variations on that.  That commandline gives me some
noise out, and a lot of decoding errors, but certainly nothing recognizeable.  
I've tried not specifying the bitrate/rate/channels, and I've tried variations
on the format (0x160 (same result), 0x162, 0x163).  I've attached the output 
with format=0x163 below, which is the same as with format=0x162.  (I'm on a 
windows box and behind a proxy here, but the results are the same on my unproxied
linux box at home.)  
	If anybody can help me out with suggestions, can point me to specific 
documentation on this problem, or can get it to play, I'd _love_ to know how.
Thanks!

								JF

-- 
       justin c ferguson          "I have passed the test / just like all the 
   jferg at thedotin dot net    rest / but never really understood the reasons
    jferg at lusars dot net       why I took it / in the first place." - Cake
justin.ferguson at gmail dot com            http://www.thedotin.net/


------------ Output with format 0x162 & 0x163 ---------------------
C:\Documents and Settings\jcf1341\Desktop\mplayer>mplayer -user-agent "NSPlayer/9.0.0.3250 WMFSDK/9.0" http_proxy://firewall.corp.xxxxxxx.com:80/http://153.91.42.26:8090/ -v -v -rawaudio "on:format=0x163:bitrate=96:rate=44100:channels=2"
MPlayer 1.0pre5-3.2.3 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 984.4 MHz (Family: 6, Stepping: 10)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file C:/Documents and Settings/jcf1341/Desktop/mplayer/mplayer/config
Reading C:/Documents and Settings/jcf1341/Desktop/mplayer/mplayer/codecs.conf: Can't open 'C:/Documents and Settings/jcf1341/Desktop/mplayer/mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-user-agent' 'NSPlayer/9.0.0.3250 WMFSDK/9.0' 'http_proxy://firewall.corp.xxxxxxx.com:80/http://153.91.42.26:8090/' '-v' '-v' '-rawaudio' 'on:format=0x163:bitrate=96:rate=44100:channels=2'
init_freetype
font: can't open file: c:/windows/fonts/arial.ttf
Cannot load font: c:/windows/fonts/arial.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> 'C:/Documents and Settings/jcf1341/Desktop/mplayer/mplayer/input.conf'
Parsing input config file C:/Documents and Settings/jcf1341/Desktop/mplayer/mplayer/input.conf
Input config file C:/Documents and Settings/jcf1341/Desktop/mplayer/mplayer/input.conf parsed: 53 binds
get_path('.conf') -> 'C:/Documents and Settings/jcf1341/Desktop/mplayer/mplayer/.conf'

[[[init getch2]]]

Playing http_proxy://firewall.corp.xxxxxxx.com:80/http://153.91.42.26:8090/.
Filename for url is now http_proxy://firewall.corp.xxxxxxx.com:80/http://153.91.42.26:8090/
WINSOCK2 init: 0
Filename for url is now http_proxy://firewall.corp.xxxxxxx.com:80/http://153.91.42.26:8090/
Using HTTP proxy: http://firewall.corp.xxxxxxx.com:80
Filename for url is now http://153.91.42.26:8090/
Resolving firewall.corp.xxxxxxx.com for AF_INET...
Connecting to server firewall.corp.xxxxxxx.com[144.226.59.17]:80 ...
Request: [GET http://153.91.42.26:8090/ HTTP/1.0
Host: 153.91.42.26:8090
User-Agent: NSPlayer/9.0.0.3250 WMFSDK/9.0
Connection: close

]
--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.0]
http minor version: [0]
uri:                [(null)]
method:             [(null)]
status code:        [200]
reason phrase:      []
body size:          [0]
Fields:
 0 - Content-type: application/octet-stream
 1 - Server: Rex 8.0.0.4477
 2 - Cache-Control: no-cache
 3 - Pragma: no-cache
 4 - Pragma: client-id=1160
 5 - Pragma: features="broadcast"
--- HTTP DEBUG HEADER --- END ---
Content-Type: [application/octet-stream]
Cache size set to 320 KBytes
Connected to server: firewall.corp.xxxxxxx.com
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill: 17.50% (57344 bytes)    seek to 0xqX
CACHE2_SEEK: 0x0 <= 0x0 (0x0) <= 0x0
==> Found audio stream: 0
==========================================================================
Opening audio decoder: [dmo] Win32/DMO decoders
======= WAVE Format =======
Format Tag: 355 (0x163)
Channels: 2
Samplerate: 44100
avg byte/sec: 12000
Block align: 4
bits/sample: 16
cbSize: 0
===========================
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 2
Samplerate: 44100
avg byte/sec: 176400
Block align: 4
bits/sample: 16
cbSize: 0
===========================
IMediaObject ERROR: 004C9AAF  input format not accepted (0x80040205 : -214722098
7)
ERROR: Could not open required DirectShow codec wma9dmod.dll.
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [dmo] Win32/DMO decoders
======= WAVE Format =======
Format Tag: 355 (0x163)
Channels: 2
Samplerate: 44100
avg byte/sec: 12000
Block align: 4
bits/sample: 16
cbSize: 0
===========================
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 2
Samplerate: 44100
avg byte/sec: 176400
Block align: 4
bits/sample: 16
cbSize: 0
===========================
IMediaObject ERROR: 004C9AAF  input format not accepted (0x80040205 : -214722098
7)
ERROR: Could not open required DirectShow codec wmadmod.dll.
ADecoder preinit failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x163.
Read DOCS/HTML/en/codecs.html!
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks
Video: no video
Freeing 0 unused video chunks


*** uninit(0x248)
DEMUXER: freeing demuxer at 020819A8
DEMUXER: freeing sh_audio at 0202E748
WINSOCK2 uninit

[[[uninit getch2]]]
Config poped level=2
Config poped level=1

*** uninit(0x80)

Exiting... (End of file)
max framesize was 0 bytes

C:\Documents and Settings\jcf1341\Desktop\mplayer>
-------------------------------------------------------------

	




More information about the MPlayer-users mailing list