[Mplayer-advusers] mms errors shown/more verbose?

compn tempn at twmi.rr.com
Tue Jun 29 17:25:22 CEST 2004


currently mplayer will not report some errors from a server
have to use -v -v to get the errors. can someone patch mplayer to  
reply 401 like it does with 404?

e.g. mms://gcrod31.streamos.com/wm31/55/da/55da540b311ef86df6fa54ca28f9416b-3e552084.asf

here we see no errors at all, it just ends.


C:\Documents and Settings\resu\Desktop>mplayer mms://gcrod31.streamos.com/wm31/5
5/da/55da540b311ef86df6fa54ca28f9416b-3e552084.asf
MPlayer dev-CVS-040527-20:53-3.3.1 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium MMX P55C 234.3 MHz (Family: 5, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 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 directo
ry
Reading config file C:/programs/mplayer/mplayer/config
Reading C:/programs/mplayer/mplayer/codecs.conf: 64 audio & 171 video codecs
Font c:\programs\mplayer\font-arial-18-iso-8859-1\font.desc loaded successfully!
 (206 chars)
Using usleep() timing
Input config file C:/programs/mplayer/mplayer/input.conf parsed: 54 binds

Playing mms://gcrod31.streamos.com/wm31/55/da/55da540b311ef86df6fa54ca28f9416b-3
e552084.asf.
Resolving gcrod31.streamos.com for AF_INET...
Connecting to server gcrod31.streamos.com[69.27.160.240]:80 ...
Stream bitrate properties object
Max bandwidth set to 0
Resolving gcrod31.streamos.com for AF_INET...
Connecting to server gcrod31.streamos.com[69.27.160.240]:80 ...
Cache size set to 2165 KBytes
Connected to server: gcrod31.streamos.com
Cache fill:  0.00% (0 bytes)

Exiting... (End of file)







adding -v -v shows us 401

C:\Documents and Settings\resu\Desktop>mplayer -v -v mms://gcrod31.streamos.com/
wm31/55/da/55da540b311ef86df6fa54ca28f9416b-3e552084.asf
MPlayer dev-CVS-040527-20:53-3.3.1 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium MMX P55C 235.6 MHz (Family: 5, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 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 directo
ry
Reading config file C:/programs/mplayer/mplayer/config
Reading C:/programs/mplayer/mplayer/codecs.conf: 64 audio & 171 video codecs
CommandLine: '-v' '-v' 'mms://gcrod31.streamos.com/wm31/55/da/55da540b311ef86df6
fa54ca28f9416b-3e552084.asf'
font: Reading section: [info]
font: Reading section: [files]
RAW: c:\programs\mplayer\font-arial-18-iso-8859-1\/iso-8859-1-a.raw  4216 x 28,
256 colors
RAW: c:\programs\mplayer\font-arial-18-iso-8859-1\/iso-8859-1-b.raw  4216 x 28,
256 colors
font: Reading section: [characters]
font: Reading section: [files]
RAW: c:\programs\mplayer\font-arial-18-iso-8859-1\/osd-mplayer-a.raw  536 x 32,
256 colors
RAW: c:\programs\mplayer\font-arial-18-iso-8859-1\/osd-mplayer-b.raw  536 x 32,
256 colors
font: Reading section: [characters]
font: resampling alpha by factor 0.750 (192) DONE!
font: resampling alpha by factor 0.750 (192) DONE!
Font c:\programs\mplayer\font-arial-18-iso-8859-1\font.desc loaded successfully!
 (206 chars)
Using MMX Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> 'C:/programs/mplayer/mplayer/input.conf'
Parsing input config file C:/programs/mplayer/mplayer/input.conf
Input config file C:/programs/mplayer/mplayer/input.conf parsed: 54 binds
get_path('55da540b311ef86df6fa54ca28f9416b-3e552084.asf.conf') -> 'C:/programs/m
player/mplayer/55da540b311ef86df6fa54ca28f9416b-3e552084.asf.conf'

[[[init getch2]]]

Playing mms://gcrod31.streamos.com/wm31/55/da/55da540b311ef86df6fa54ca28f9416b-3
e552084.asf.
Filename for url is now mms://gcrod31.streamos.com/wm31/55/da/55da540b311ef86df6
fa54ca28f9416b-3e552084.asf
WINSOCK2 init: 0
Filename for url is now mms://gcrod31.streamos.com/wm31/55/da/55da540b311ef86df6
fa54ca28f9416b-3e552084.asf
Trying ASF/HTTP...
Resolving gcrod31.streamos.com for AF_INET...
Connecting to server gcrod31.streamos.com[69.27.160.240]:80 ...
Request [GET /wm31/55/da/55da540b311ef86df6fa54ca28f9416b-3e552084.asf HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: gcrod31.streamos.com:80
Pragma: xClientGUID={c77e7400-738a-11d2-9add-0020af0a3278}
Pragma: no-cache,rate=1.000000,stream-time=0,stream-offset=0:0,request-context=1
,max-duration=0
Connection: Close

]
Response [HTTP/1.0 200 OK
Content-Type: application/vnd.ms.wms-hdr.asfv1
Server: Cougar/9.00.00.3374
Content-Length: 2860
Date: Tue, 29 Jun 2004 15:11:41 GMT
Pragma: no-cache, client-id=2627597415, xResetStrm=1, features="seekable,stridab
le"
Cache-Control: no-cache, x-wms-content-size=21012374, max-age=4294967294, x-wms-
event-subscription="remote-log", user-public, must-revalidate, proxy-public, pro
xy-revalidate
Last-Modified: Tue, 06 May 2003 01:35:20 GMT
Etag: "21012374"
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm
.predstrm, com.microsoft.wm.fastcache

$H(♂]
=====> ASF Prerecorded
=====> ASF header chunk follows
Got chunk
Size 2 read=2798
Stream bitrate properties object
Max bandwidth set to 0
Resolving gcrod31.streamos.com for AF_INET...
Connecting to server gcrod31.streamos.com[69.27.160.240]:80 ...
Request [GET /wm31/55/da/55da540b311ef86df6fa54ca28f9416b-3e552084.asf HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: gcrod31.streamos.com:80
Pragma: xClientGUID={c77e7400-738a-11d2-9add-0020af0a3278}
Pragma: no-cache,rate=1.000000,stream-time=0,stream-offset=0:0,request-context=2
,max-duration=0
Pragma: xPlayStrm=1
Pragma: stream-switch-entry=ffff:1:0 ffff:2:0
Pragma: stream-switch-count=2
Connection: Close

]
Response [HTTP/1.0 401 Unauthorized
Server: Cougar/9.00.00.3374
Date: Tue, 29 Jun 2004 15:11:42 GMT
Pragma: no-cache
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm
.predstrm, com.microsoft.wm.fastcache

]
Cache size set to 2165 KBytes
Connected to server: gcrod31.streamos.com
CACHE_PRE_INIT: 0 [0] 0  pre:443392  eof:0
Cache fill:  0.00% (0 bytes)    seek to 0xqX
CACHE2_SEEK: 0x0 <= 0x0 (0x0) <= 0x0
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 01F5F008


*** uninit(0x48)
WINSOCK2 uninit

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

*** uninit(0x80)

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





More information about the MPlayer-advusers mailing list