[MPlayer-dev-eng] Bug playing asf stream

Alexandre Pereira da Silva apsilva at leb.usp.br
Wed Jun 18 06:10:48 CEST 2003


I tryed to play this url with the current cvs version
http://mediaibox.terra.com.br/gpr_newradio.asp\?PARCEIRO=61\&1=MW47332

If that url is outdated try one from http://radio.terra.com.br

I get sound output. This works fine on WindowsMediaPLayer.

I got it working changing the order that asf searchs the protocol. 
The standard way is first http, then tcp, then udp. Changind http to be the last tried made it work.

I think this issue is related to inexistence of http seek support. 
Is there anyone working on http seek?

What is the best way to implement it? Implement a asfhttp_streaming_seek function?

I'm sending the patch, and the output with and without it.

-- 
Alexandre Pereira da Silva	
ICQ#: 22163948		Tel: (11) 93830810, 37271018
-------------- next part --------------
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer dev-CVS-030618-00:33-3.0.4 (C) 2000-2003 ?rp?d Gere?ffy (see DOCS)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/local/etc/mplayer/mplayer.confReading config file /home/aletes/.mplayer/config
Reading /home/aletes/.mplayer/codecs.conf: Reading /usr/local/etc/mplayer/codecs.conf: 57 audio & 145 video codecs
CommandLine: '-dumpfile' '/tmp/terra.dump' '-v' '-v' 'http://mediaibox.terra.com.br/gpr_newradio.asp?PARCEIRO=61&1=MW47332'
get_path('font/font.desc') -> '/home/aletes/.mplayer/font/font.desc'
font: can't open file: /home/aletes/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/home/aletes/.mplayer/input.conf'
Parsing input config file /home/aletes/.mplayer/input.conf
Input config file /home/aletes/.mplayer/input.conf parsed : 53 binds
get_path('gpr_newradio.asp?PARCEIRO=61&1=MW47332.conf') -> '/home/aletes/.mplayer/gpr_newradio.asp?PARCEIRO=61&1=MW47332.conf'

[[[init getch2]]]

Playing http://mediaibox.terra.com.br/gpr_newradio.asp?PARCEIRO=61&1=MW47332
Resolving mediaibox.terra.com.br for AF_INET...
Connecting to server mediaibox.terra.com.br[200.176.4.19]:80 ...
Request: [GET /gpr_newradio.asp?PARCEIRO=61&1=MW47332 HTTP/1.0
Host: mediaibox.terra.com.br
User-Agent: MPlayer/dev-CVS-030618-00:33-3.0.4 
Connection: closed

]
--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.1]
http minor version: [1]
uri:                [(null)]
method:             [(null)]
status code:        [200]
reason phrase:      [OK]
body size:          [121]
Fields:
 0 - Server: Microsoft-IIS/5.0
 1 - Date: Wed, 18 Jun 2003 03:46:12 GMT
 2 - Connection: Keep-Alive
 3 - Content-Length: 121
 4 - Content-Type: video/x-ms-asf
 5 - Set-Cookie: ASPSESSIONIDAABTADTT=MHLNKCGCCGDLMBHBNIBGAILF; path=/
 6 - Cache-control: private
--- HTTP DEBUG HEADER --- END ---
Content-Type: [video/x-ms-asf]
Content-Length: [121]
Trying ASF/HTTP...
Resolving mediaibox.terra.com.br for AF_INET...
Connecting to server mediaibox.terra.com.br[200.176.4.19]:80 ...
Request [GET /gpr_newradio.asp?PARCEIRO=61&1=MW47332 HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: mediaibox.terra.com.br: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.1 200 OK
Server: Microsoft-IIS/5.0
Date: Wed, 18 Jun 2003 03:46:13 GMT
Connection: Keep-Alive
Content-Length: 121
Content-Type: video/x-ms-asf
Set-Cookie: ASPSESSIONIDAABTADTT=NHLNKCGCJFKIAPLMMBDFLOMM; path=/
Cache-control: private

<ASX version="3.0"><ENTRY><REF HREF="mms://wmsao6.terra.com.br/mib/132236.asf?url=24571129173114R16079"  /></ENTRY></ASX>]
=====> ASF Redirector
Connected to server: mediaibox.terra.com.br
Parsing playlist http://mediaibox.terra.com.br/gpr_newradio.asp?PARCEIRO=61&1=MW47332...
Trying asx...
Detected asx format
Parsing asx file : [<ASX version="3.0"><ENTRY><REF HREF="mms://wmsao6.terra.com.br/mib/132236.asf?url=24571129173114R16079"  /></ENTRY></ASX>]
Adding file mms://wmsao6.terra.com.br/mib/132236.asf?url=24571129173114R16079 to element entry
Adding element REF to entry
Adding element ENTRY to asx
Playlist succefully parsed
Config poped level=2
Config pushed level is now 3
Config pushed level is now 4


*** uninit(0x48)

[[[uninit getch2]]]
get_path('132236.asf?url=24571129173114R16079.conf') -> '/home/aletes/.mplayer/132236.asf?url=24571129173114R16079.conf'

[[[init getch2]]]

Playing mms://wmsao6.terra.com.br/mib/132236.asf?url=24571129173114R16079
Trying ASF/HTTP...
Resolving wmsao6.terra.com.br for AF_INET...
Connecting to server wmsao6.terra.com.br[200.154.151.17]:80 ...
Request [GET /mib/132236.asf?url=24571129173114R16079 HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: wmsao6.terra.com.br: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/octet-stream
Server: Cougar 4.1.0.3927
Cache-Control: no-cache
Pragma: no-cache
Pragma: client-id=851994
Pragma: features="seekable"

]
=====> ASF Prerecorded
=====> ASF header chunk follows
Got chunk
Size 2 read=2359
=====> ASF header chunk follows
=====> ASF header chunk follows
Stream bitrate properties object
Max bandwidth set to 0
Resolving wmsao6.terra.com.br for AF_INET...
Connecting to server wmsao6.terra.com.br[200.154.151.17]:80 ...
Request [GET /mib/132236.asf?url=24571129173114R16079 HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: wmsao6.terra.com.br: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:2 
Pragma: stream-switch-count=1
Connection: Close

]
Response [HTTP/1.0 200 OK
Content-Type: application/octet-stream
Server: Cougar 4.1.0.3927
Cache-Control: no-cache
Pragma: no-cache
Pragma: client-id=851999
Pragma: features="seekable"

]
=====> ASF Prerecorded
Cache size set to 0 KBytes
Connected to server: wmsao6.terra.com.br
s->pos=0  newpos=0  new_bufpos=0  buflen=0  
Stream not seekable!
=====> ASF header chunk follows
ASF file format detected.
ASF: packets: 558  flags: 2  max_packet_size: 1053  min_packet_size: 1053  max_bitrate: 22627  preroll: 1578
s->pos=41D  newpos=0  new_bufpos=759  buflen=0  
Stream not seekable!
=====> ASF header chunk follows

*** uninit(0xC8)

[[[uninit getch2]]]
vo: x11 uninit called but X11 not inited..
max framesize was 0 bytes
-------------- next part --------------
*This works fine.

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer dev-CVS-030618-00:33-3.0.4 (C) 2000-2003 ?rp?d Gere?ffy (see DOCS)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/local/etc/mplayer/mplayer.confReading config file /home/aletes/.mplayer/config
Reading /home/aletes/.mplayer/codecs.conf: Reading /usr/local/etc/mplayer/codecs.conf: 57 audio & 145 video codecs
CommandLine: '-dumpfile' '/tmp/terra.dump' '-v' '-v' 'http://mediaibox.terra.com.br/gpr_newradio.asp?PARCEIRO=61&1=MW47332'
get_path('font/font.desc') -> '/home/aletes/.mplayer/font/font.desc'
font: can't open file: /home/aletes/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/home/aletes/.mplayer/input.conf'
Parsing input config file /home/aletes/.mplayer/input.conf
Input config file /home/aletes/.mplayer/input.conf parsed : 53 binds
get_path('gpr_newradio.asp?PARCEIRO=61&1=MW47332.conf') -> '/home/aletes/.mplayer/gpr_newradio.asp?PARCEIRO=61&1=MW47332.conf'

[[[init getch2]]]

Playing http://mediaibox.terra.com.br/gpr_newradio.asp?PARCEIRO=61&1=MW47332
Resolving mediaibox.terra.com.br for AF_INET...
Connecting to server mediaibox.terra.com.br[200.176.4.19]:80 ...
Request: [GET /gpr_newradio.asp?PARCEIRO=61&1=MW47332 HTTP/1.0
Host: mediaibox.terra.com.br
User-Agent: MPlayer/dev-CVS-030618-00:33-3.0.4 
Connection: closed

]
--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.1]
http minor version: [1]
uri:                [(null)]
method:             [(null)]
status code:        [200]
reason phrase:      [OK]
body size:          [121]
Fields:
 0 - Server: Microsoft-IIS/5.0
 1 - Date: Wed, 18 Jun 2003 03:55:59 GMT
 2 - Connection: Keep-Alive
 3 - Content-Length: 121
 4 - Content-Type: video/x-ms-asf
 5 - Set-Cookie: ASPSESSIONIDAABTADTT=NHONKCGCCCEDMNCMKJPGDFDF; path=/
 6 - Cache-control: private
--- HTTP DEBUG HEADER --- END ---
Content-Type: [video/x-ms-asf]
Content-Length: [121]
Trying ASF/HTTP...
Resolving mediaibox.terra.com.br for AF_INET...
Connecting to server mediaibox.terra.com.br[200.176.4.19]:80 ...
Request [GET /gpr_newradio.asp?PARCEIRO=61&1=MW47332 HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: mediaibox.terra.com.br: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.1 200 OK
Server: Microsoft-IIS/5.0
Date: Wed, 18 Jun 2003 03:55:59 GMT
Connection: Keep-Alive
Content-Length: 121
Content-Type: video/x-ms-asf
Set-Cookie: ASPSESSIONIDAABTADTT=CIONKCGCPLICHAKLEPIEINIP; path=/
Cache-control: private

<ASX version="3.0"><ENTRY><REF HREF="mms://wmsao6.terra.com.br/mib/132236.asf?url=70661129173114R16079"  /></ENTRY></ASX>]
=====> ASF Redirector
Connected to server: mediaibox.terra.com.br
Parsing playlist http://mediaibox.terra.com.br/gpr_newradio.asp?PARCEIRO=61&1=MW47332...
Trying asx...
Detected asx format
Parsing asx file : [<ASX version="3.0"><ENTRY><REF HREF="mms://wmsao6.terra.com.br/mib/132236.asf?url=70661129173114R16079"  /></ENTRY></ASX>]
Adding file mms://wmsao6.terra.com.br/mib/132236.asf?url=70661129173114R16079 to element entry
Adding element REF to entry
Adding element ENTRY to asx
Playlist succefully parsed
Config poped level=2
Config pushed level is now 3
Config pushed level is now 4


*** uninit(0x48)

[[[uninit getch2]]]
get_path('132236.asf?url=70661129173114R16079.conf') -> '/home/aletes/.mplayer/132236.asf?url=70661129173114R16079.conf'

[[[init getch2]]]

Playing mms://wmsao6.terra.com.br/mib/132236.asf?url=70661129173114R16079
Trying ASF/UDP...
  ===> ASF/UDP failed
Trying ASF/TCP...
Resolving wmsao6.terra.com.br for AF_INET...
Connecting to server wmsao6.terra.com.br[200.154.151.17]:1755 ...
connected
file object, packet length = 1053 (1053)
unknown object
unknown object
unknown object
stream object, stream id: 1
unknown object
data object
mmst packet_length = 1053
Cache size set to 0 KBytes
Connected to server: wmsao6.terra.com.br
s->pos=0  newpos=0  new_bufpos=0  buflen=0  
Stream not seekable!
ASF file format detected.
ASF: packets: 558  flags: 2  max_packet_size: 1053  min_packet_size: 1053  max_bitrate: 22627  preroll: 1578
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes,  stream: 8 bytes  ID: 1
unk1: 0  unk2: 168FF84
FILEPOS=0x8F3
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 22050
avg byte/sec: 2751
Block align: 1022
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [44] [0] [0] [f] [0] [f9] [f] [0] [0] 
ASF: audio scrambling: 1 x 1 x 1022
============ ASF Stream group == START ===
 object size = 32
 stream count=[0x1][1]
   stream id=[0x1][1]
   max bitrate=[0x5863][22627]
============ ASF Stream group == END ===
Found movie at 0x969 - 0x9009F
ASF: 1 audio and 0 video streams found
s->pos=969  newpos=800  new_bufpos=969  buflen=0  
Stream not seekable!
ASF: Searching for audio stream (id:-1).
 82 00 00 48 5D 1B 04 00 00 00 00 00 73 01 01 01
seg 0: 01 01 00 00 00 00 08 FE 03 00 00 2A 06 00 00 09
Auto-selected ASF audio ID = 1
 82 00 00 48 5D 1B 04 00 73 01 00 00 73 01 01 02
seg 0: 01 02 00 00 00 00 08 FE 03 00 00 6F 07 00 00 18
==========================================================================
Opening audio decoder: [dmo] Win32/DMO decoders
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 22050
avg byte/sec: 2751
Block align: 1022
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [44] [0] [0] [f] [0] [f9] [f] [0] [0] 
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 2
Samplerate: 22050
avg byte/sec: 88200
Block align: 4
bits/sample: 16
cbSize: 0
External func KERNEL32.dll:GetCurrentThreadId
External func KERNEL32.dll:GetCurrentProcessId
External func KERNEL32.dll:GetSystemTimeAsFileTime
External func KERNEL32.dll:GetTickCount
External func KERNEL32.dll:GetVersionExA
External func KERNEL32.dll:GetModuleHandleW
External func KERNEL32.dll:LoadLibraryA
External func KERNEL32.dll:DeviceIoControl
External func KERNEL32.dll:GetProcessHeap
External func KERNEL32.dll:HeapAlloc
External func KERNEL32.dll:QueryPerformanceCounter
External func KERNEL32.dll:GlobalMemoryStatus
External func KERNEL32.dll:GetDiskFreeSpaceA
External func KERNEL32.dll:GetComputerNameA
External func KERNEL32.dll:HeapFree
External func KERNEL32.dll:CloseHandle
External func KERNEL32.dll:InterlockedExchange
External func KERNEL32.dll:TlsAlloc
External func KERNEL32.dll:TlsFree
External func KERNEL32.dll:LocalFree
External func KERNEL32.dll:TlsGetValue
External func KERNEL32.dll:LocalAlloc
External func KERNEL32.dll:TlsSetValue
External func KERNEL32.dll:GetModuleHandleA
External func KERNEL32.dll:GetProcAddress
External func KERNEL32.dll:GetCurrentProcess
External func KERNEL32.dll:TerminateProcess
External func KERNEL32.dll:InitializeCriticalSection
External func KERNEL32.dll:DeleteCriticalSection
External func KERNEL32.dll:LeaveCriticalSection
External func KERNEL32.dll:GetLocalTime
External func KERNEL32.dll:GetSystemInfo
External func KERNEL32.dll:Sleep
External func KERNEL32.dll:EnterCriticalSection
External func KERNEL32.dll:InterlockedDecrement
External func KERNEL32.dll:InterlockedIncrement
External func KERNEL32.dll:GetModuleFileNameA
External func msvcrt.dll:calloc
External func msvcrt.dll:ceil
External func msvcrt.dll:_CIpow
External func msvcrt.dll:_except_handler3
External func msvcrt.dll:exit
External func msvcrt.dll:_purecall
External func msvcrt.dll:memmove
External func msvcrt.dll:malloc
External func msvcrt.dll:_adjust_fdiv
External func msvcrt.dll:_initterm
External func msvcrt.dll:free
External func msvcrt.dll:_winver
External func msvcrt.dll:swscanf
External func msvcrt.dll:??2 at YAPAXI@Z
External func msvcrt.dll:iswspace
External func msvcrt.dll:sprintf
External func msvcrt.dll:wcscmp
External func msvcrt.dll:??3 at YAXPAX@Z
External func OLEAUT32.dll:7
External func OLEAUT32.dll:8
External func ADVAPI32.dll:RegCreateKeyExA
External func ADVAPI32.dll:RegSetValueA
External func ADVAPI32.dll:RegCreateKeyA
External func ADVAPI32.dll:RegOpenKeyExA
External func ADVAPI32.dll:RegSetValueExA
External func ADVAPI32.dll:RegOpenKeyA
External func ADVAPI32.dll:RegQueryValueExA
External func ADVAPI32.dll:RegCloseKey
External func ADVAPI32.dll:GetUserNameA
External func SHLWAPI.dll:SHDeleteKeyA
External func msdmo.dll:MoCopyMediaType
External func msdmo.dll:DMORegister
External func msdmo.dll:DMOUnregister
External func msdmo.dll:MoFreeMediaType
External func msdmo.dll:MoInitMediaType
External func ole32.dll:CoTaskMemFree
External func ole32.dll:CoTaskMemAlloc
malloc(0x80) => 0x82af8d0
_initterm(0x801b000, 0x801b008) (nil)
GetSystemTime(0xbfffd830)
GetCurrentProcessId(void) => 16883
GetCurrentThreadId() => 1024
GetTickCount() => 0
QueryPerformanceCounter(0xbfffd828) => 1 ( 21175730226466 )
GetModuleHandleA('kernel32.dll') => 0x120
External func kernel32.dll:UnhandledExceptionFilter
GetProcAddress(0x120, 'UnhandledExceptionFilter') => 0x826d590
InterlockedIncrement(0x801df9c => 1) => 1
TlsAlloc() => 0
TlsAlloc() => 1
InitializeCriticalSection(0x801df84)
TlsGetValue(0)
LocalAlloc(3240, flags 0x40) => 0x82dc678
TlsSetValue(0,0x82dc678) => 1
TlsGetValue(1)
LocalAlloc(10, flags 0x40) => 0x82aec48
TlsSetValue(1,0x82aec48) => 1
new(12) => 0x82aec78
new(472) => 0x82af000
InitializeCriticalSection(0x82af0b0)
new(8) => 0x82af260
InterlockedIncrement(0x82af264 => 2) => 2
new(604) => 0x82adee0
InitializeCriticalSection(0x82ae11c)
GetProcessHeap() => 1
HeapAlloc(heap 0x1, flags 0x0, size 2344) => 0x82dd348
InitializeCriticalSection(0x82dd374)
InitializeCriticalSection(0x82dd494)
InitializeCriticalSection(0x82dd5b4)
InitializeCriticalSection(0x82dd6d4)
InitializeCriticalSection(0x82dd7f4)
InitializeCriticalSection(0x82dd914)
InitializeCriticalSection(0x82dda34)
InitializeCriticalSection(0x82ddb54)
Entering LoadLibraryA(kernel32.dll)
External func kernel32.dll:InterlockedCompareExchange
GetProcAddress(0x120, 'InterlockedCompareExchange') => 0x8122b80
new(4) => 0x82ae7d8
InterlockedIncrement(0x82af264 => 3) => 3
InterlockedIncrement(0x82adee8 => 2) => 2
InterlockedDecrement(0x82af264 => 2) => 2
InterlockedDecrement(0x82af264 => 1) => 1
InterlockedDecrement(0x82adee8 => 1) => 1
new(40) => 0x82afb20
new(4) => 0x82aedc8
new(4) => 0x82afb70
InterlockedIncrement(0x82af008 => 1) => 1
InterlockedIncrement(0x82af008 => 2) => 2
InterlockedDecrement(0x82af008 => 1) => 1
delete(0x82aec78)
InterlockedIncrement(0x82af008 => 2) => 2
InterlockedDecrement(0x82af008 => 1) => 1
EnterCriticalSection(0x82af0b0) 0x82af200
LeaveCriticalSection(0x82af0b0) 0x82af200
EnterCriticalSection(0x82af0b0) 0x82af200
LeaveCriticalSection(0x82af0b0) 0x82af200
EnterCriticalSection(0x82af0b0) 0x82af200
LeaveCriticalSection(0x82af0b0) 0x82af200
GetOutput r=0x0   size:16384  align:1
EnterCriticalSection(0x82af0b0) 0x82af200
LeaveCriticalSection(0x82af0b0) 0x82af200
StreamCount r=0x0  1  1
INFO: Win32/DMO audio codec init OK!
dec_audio: Allocating 8192 bytes for input buffer
dec_audio: Allocating 65536 + 65536 = 131072 bytes for output buffer
AUDIO: 22050 Hz, 2 ch, 16 bit (0x10), ratio: 2751->88200 (22,0 kbit)
Selected audio codec: [wmadmo] afm:dmo (Windows Media Audio DMO)
==========================================================================
Checking audio filter chain for 22050Hz/2ch/16bit -> 22050Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 22050 hz, little endian signed int 
AF_pre: 22050Hz 2ch Signed 16-bit (Little-Endian)
[pl_volnorm] Normalizer plugin in use.
ao2: 22050 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 22050 Hz samplerate (requested: 22050)
audio_setup: frags:   4/4  (8192 bytes/frag)  free:  32768
AO: [plugin] 22050Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: Plugin audio output
AO: Author: Anders
Building audio filter chain for 22050Hz/2ch/16bit -> 22050Hz/2ch/16bit...
[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps = 2
Video: no video
Freeing 0 unused video chunks
Starting playback...

decaudio: minlen=32768 maxlen=32768 declen=32768 (max=131072)
decaudio: decoding 32768 bytes, max: 131072 (65536)
DMO says: srcsize=4088  (buffsize=8192)  out_size=131072
 82 00 00 48 5D 1B 04 00 E7 02 00 00 73 01 01 03
seg 0: 01 03 00 00 00 00 08 FE 03 00 00 E2 08 00 00 26
 82 00 00 48 5D 1B 04 00 5A 04 00 00 73 01 01 04
seg 0: 01 04 00 00 00 00 08 FE 03 00 00 F9 09 00 00 33
 82 00 00 48 5D 1B 04 00 CE 05 00 00 73 01 01 05
seg 0: 01 05 00 00 00 00 08 FE 03 00 00 83 0A 00 00 43
EnterCriticalSection(0x82af0b0) 0x82af200
EnterCriticalSection(0x82af0b0) 0x82af200
malloc(0x228) => 0x82afc88
malloc(0x310) => 0x82b0570
InterlockedIncrement(0x801df9c => 2) => 2
TlsGetValue(0)
TlsGetValue(1)

*...
* Output removed
*...

TlsGetValue(0)
InterlockedDecrement(0x801df9c => 0) => 0
TlsFree(0)
TlsFree(1)
DeleteCriticalSection(0x801df84)
free(0x82af8d0)
Total Unfree 0 bytes cnt 0 [(nil),0]
DEMUXER: freeing demuxer at 0x82b1968  
DEMUXER: freeing sh_audio at 0x82ae6b0  

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

*** uninit(0x80)
vo: x11 uninit called but X11 not inited..

Exiting... (End of file)
max framesize was 0 bytes
-------------- next part --------------
--- /home/aletes/down-cvs/mplayer/main/libmpdemux/asf_streaming.c	Fri Jun 13 00:28:21 2003
+++ asf_streaming.c	Wed Jun 18 00:55:23 2003
@@ -60,16 +60,6 @@
 	
 	strncpy( proto_s, stream->streaming_ctrl->url->protocol, 10 );
 
-	if( 	!strncasecmp( proto_s, "http", 4) || 
-		(!strncasecmp( proto_s, "mms", 3) && strncasecmp( proto_s, "mmst", 4)) || 
-		!strncasecmp( proto_s, "http_proxy", 10)
-		) {
-		mp_msg(MSGT_NETWORK,MSGL_V,"Trying ASF/HTTP...\n");
-		fd = asf_http_streaming_start( stream, demuxer_type );
-		if( fd>-1 ) return fd;
-		mp_msg(MSGT_NETWORK,MSGL_V,"  ===> ASF/HTTP failed\n");
-		if( fd==-2 ) return -1;
-	}
 	if( !strncasecmp( proto_s, "mms", 3) && strncasecmp( proto_s, "mmst", 4) ) {
 		mp_msg(MSGT_NETWORK,MSGL_V,"Trying ASF/UDP...\n");
 		//fd = asf_mmsu_streaming_start( stream );
@@ -84,7 +74,16 @@
 		mp_msg(MSGT_NETWORK,MSGL_V,"  ===> ASF/TCP failed\n");
 		if( fd==-2 ) return -1;
 	}
-
+	if( 	!strncasecmp( proto_s, "http", 4) || 
+		(!strncasecmp( proto_s, "mms", 3) && strncasecmp( proto_s, "mmst", 4)) || 
+		!strncasecmp( proto_s, "http_proxy", 10)
+		) {
+		mp_msg(MSGT_NETWORK,MSGL_V,"Trying ASF/HTTP...\n");
+		fd = asf_http_streaming_start( stream, demuxer_type );
+		if( fd>-1 ) return fd;
+		mp_msg(MSGT_NETWORK,MSGL_V,"  ===> ASF/HTTP failed\n");
+		if( fd==-2 ) return -1;
+	}
 	mp_msg(MSGT_NETWORK,MSGL_ERR,"Unknown protocol: %s\n", proto_s );
 	return -1;
 }


More information about the MPlayer-dev-eng mailing list