[MPlayer-users] ASF Command GUID

J H jamesnp30 at yahoo.co.uk
Tue Jun 7 18:50:53 CEST 2011


Hi MPlayer Users,

I'm unable to get mplayer to stream ASF streams that have GUID prefix 0x0057fb20 (ASF command).

After looking through the mplayer source code, it looks like mplayer doesn't support this type GUID (doesn't recognize it as an audio stream).

Does anyone have any idea about how to get mplayer to play such a stream? If so, please let me know.

Below is an example of the mplayer attempting to play such an ASF stream:

$ mplayer -aid 2 -msglevel header=7:network=7 "http://stream-a.den.liquidcompass.net/94FM?MSWMExt=.asf"

MPlayer SVN-r31918 (C) 2000-2010 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing http://stream-a.den.liquidcompass.net/94FM?MSWMExt=.asf.
Resolving stream-a.den.liquidcompass.net for AF_INET6...

Couldn't resolve name for AF_INET6: stream-a.den.liquidcompass.net
Resolving stream-a.den.liquidcompass.net for AF_INET...
Connecting to server stream-a.den.liquidcompass.net[204.209.255.100]: 80...

Request: [GET /94FM?MSWMExt=.asf HTTP/1.0
Host: stream-a.den.liquidcompass.net
User-Agent: MPlayer SVN-r31918
Icy-MetaData: 1
Connection: close

]
--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.0]
http minor version: [0]
uri:                [(null)]
method:             [(null)]
status code:        [200]
reason phrase:      [OK]
body size:          [125]
Fields:
 0 - Content-Type: video/x-ms-asf
 1 - Cache-Control: max-age=0, no-cache
 2 - Server: Cougar/9.5.6001.18281
 3 - Content-Length: 125
 4 - Date: Tue, 07 Jun 2011 16:21:16 GMT
 5 - Pragma: no-cache, xResetStrm=1
 6 - Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.fastcache, com.microsoft.wm.startupprofile
--- HTTP DEBUG HEADER --- END ---
Content-Length: [125]
Content-Type: [video/x-ms-asf]
STREAM_ASF, URL: http://stream-a.den.liquidcompass.net/94FM?MSWMExt=.asf
Trying ASF/HTTP...
Resolving stream-a.den.liquidcompass.net for AF_INET6...

Couldn't resolve name for AF_INET6: stream-a.den.liquidcompass.net
Resolving stream-a.den.liquidcompass.net for AF_INET...
Connecting to server stream-a.den.liquidcompass.net[204.209.255.100]: 80...

Request [GET /94FM?MSWMExt=.asf HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: stream-a.den.liquidcompass.net: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.5.6001.18281
Content-Length: 2559
Date: Tue, 07 Jun 2011 16:21:16 GMT
Pragma: no-cache, client-id=3206145175, xResetStrm=1, features="broadcast"
Cache-Control: no-cache, x-wms-stream-type="broadcast"
Last-Modified: Sat, 30 Dec 1899 00:00:00 GMT
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.fastcache, com.microsoft.wm.startupprofile

$H	]
=====> ASF Live stream
=====> ASF header chunk follows
Got chunk
Size 2 read=2497
Stream bitrate properties object
 stream count=[0x2][2]
  stream id=[0x1][1]
  max bitrate=[0xfc8c][64652]
  is audio stream
  stream id=[0x2][2]
  max bitrate=[0xc32][3122]
Max bandwidth set to 2147483647
Resolving stream-a.den.liquidcompass.net for AF_INET6...

Couldn't resolve name for AF_INET6: stream-a.den.liquidcompass.net
Resolving stream-a.den.liquidcompass.net for AF_INET...
Connecting to server stream-a.den.liquidcompass.net[204.209.255.100]: 80...

Request [GET /94FM?MSWMExt=.asf HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: stream-a.den.liquidcompass.net: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=
Pragma: stream-switch-count=0
Connection: Close

]
Response [HTTP/1.0 200 OK
Content-Type: application/x-mms-framed
Server: Cougar/9.5.6001.18281
Date: Tue, 07 Jun 2011 16:21:16 GMT
Pragma: no-cache, client-id=1798218130, xResetStrm=1, features="broadcast", AccelBW=0, AccelDuration=0, Speed=1.000
Cache-Control: no-cache
Last-Modified: Tue, 07 Jun 2011 16:21:16 GMT
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.fastcache, com.microsoft.wm.startupprofile
Connection: keep-alive

]
=====> ASF Live stream
Cache size set to 120 KBytes
Cache fill:  0.00% (0 bytes)   =====> ASF header chunk follows
Cache fill: 13.33% (16384 bytes)   

ASF file format detected.
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes,  stream: 8 bytes  ID: 1
unk1: 0  unk2: 6CCE6200
FILEPOS=0x803
[asfheader] Audio stream found, -aid 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 44100
avg byte/sec: 8003
Block align: 2973
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [88] [0] [0] [f] [0] [75] [2e] [0] [0] 
==========================================================================
ASF: audio scrambling: 1 x 1 x 2973
stream type: unknown guid c0cfda59-e659-d011-a3ac00a0c90348f6
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 0 bytes,  stream: 0 bytes  ID: 2
unk1: 0  unk2: 6CCE6200
FILEPOS=0x875
ASF: packets: -1  flags: 9  max_packet_size: 3004  min_packet_size: 3004  max_bitrate: 67774  preroll: 3000
============ ASF Stream group == START ===
 stream count=[0x2][2]
   stream id=[0x1][1]
   max bitrate=[0xfc8c][64652]
   stream id=[0x2][2]
   max bitrate=[0xc32][3122]
============ ASF Stream group == END ===
Found movie at 0x9F3 - 0x9F3
ASF: 1 audio and 0 video streams found
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling!



More information about the MPlayer-users mailing list