[Mplayer-advusers] [bug ?] video streaming & proxy support

pl p_l at gmx.fr
Thu Feb 7 14:11:01 CET 2002


Hi,

 I did a few tests with http://live.atlas.cz/bonton/fromhell2856.asx
It works without proxy and fails with a squid one enabled.

Please let me know if you need further information (my logs attached).
 
Original bug on -users list:
  Date: Wed, 06 Feb 2002 17:35:40 +0100
  To: mplayer-users at mplayer.dev.hu
  From: Daniel Mladek <dmladek at netbeans.com>
  Subject: [MPlayer-users] video streaming - PROXY/FIREWALL problem?

-- 
Best regards,
  pl
-------------- next part --------------
not working (proxy enabled)

MPlayer CVS-020206-15:43-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon (Type: 6, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX
Reading /home/pl/.mplayer/codecs.conf: 29 audio & 77 video codecs
CommandLine: '-v' '-v' 'http://live.atlas.cz/bonton/fromhell2856.asx'
get_path('font/font.desc') -> '/home/pl/.mplayer/font/font.desc'
font: Reading section: [info]
font: Reading section: [files]
RAW: /home/pl/.mplayer/font//iso-8859-1-a.raw  4216 x 28, 256 colors
RAW: /home/pl/.mplayer/font//iso-8859-1-b.raw  4216 x 28, 256 colors
font: Reading section: [characters]
font: Reading section: [files]
RAW: /home/pl/.mplayer/font//osd-mplayer-a.raw  536 x 32, 256 colors
RAW: /home/pl/.mplayer/font//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 /home/pl/.mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Playing http://live.atlas.cz/bonton/fromhell2856.asx
Using HTTP proxy: http://localhost:8080
Connecting to server localhost:8080 ...
Request: [GET http://live.atlas.cz/bonton/fromhell2856.asx HTTP/1.0
Host: live.atlas.cz
User-Agent: MPlayer
Connection: closed

]
--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.0]
http minor version: [0]
uri:                [(null)]
method:             [(null)]
status code:        [200]
reason phrase:      [OK]
body size:          [626]
Fields:
 0 - Server: Microsoft-IIS/5.0
 1 - Date: Thu, 07 Feb 2002 12:50:18 GMT
 2 - Content-Type: video/x-ms-asf
 3 - Accept-Ranges: bytes
 4 - Last-Modified: Wed, 09 Jan 2002 13:36:07 GMT
 5 - ETag: "b01ab1971299c11:9b9"
 6 - Content-Length: 626
 7 - X-Cache: MISS from localhost
 8 - X-Cache-Lookup: MISS from localhost:8080
 9 - Proxy-Connection: close
--- HTTP DEBUG HEADER --- END ---
Content-Type: [video/x-ms-asf]
Content-Length: [626]
Trying ASF/HTTP...
Connecting to server localhost:8080 ...
Request [GET http://live.atlas.cz/bonton/fromhell2856.asx HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: live.atlas.cz:0
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
Server: Microsoft-IIS/5.0
Date: Thu, 07 Feb 2002 12:50:18 GMT
Content-Type: video/x-ms-asf
Accept-Ranges: bytes
Last-Modified: Wed, 09 Jan 2002 13:36:07 GMT
ETag: "b01ab1971299c11:9b9"
Content-Length: 626
X-Cache: MISS from localhost
X-Cache-Lookup: MISS from localhost:8080
Proxy-Connection: close

<ASX Version = "3.0">
<Title>Z pekla</Title>
<MoreInfo href = "http://www.filmpub.cz" /> 


<Entry> 
<Title>Z pekla</Title> 
<BANNER HREF="http://live.atlas.cz/images/logolive.gif">
    <MOREINFO HREF="http://live.atlas.cz" />
<Abstract> R?dia, filmy, rozhovory, film. uk?zky na internetu</Abstract>
</BANNER>


<Title>LIVE.ATLAS.CZ</Title> 
<Author></Author>
<Copyright>? 2001 Bontonfilm</Copyright> 
<MoreInfo href = "http://live.atlas.cz" /> 
<Ref href = "mms://netshow.atlas.cz/bonton/from_hell2856.wmv" /> 
<Logo href = "http://live.atlas.cz/images/atlas-ico.gif" Style = "ICON" />
</Entry>
 </ASX> 
]
=====> ASF Redirector
Connected to server: 7 Feb 2002 12:50:18 GMT
Content-Type: video/x-ms-asf
Accept-Ranges: bytes
Last-Modified: Wed, 09 Jan 2002 13:36:07 GMT
ETag: "b01ab1971299c11:9b9"
Content-Length: 626
X-Cache: MISS from localhost
X-Cache-Lookup: MISS from localhost:8080
Proxy-Connection: close

<ASX Version = "3.0">
<Title>Z pekla</Title>
<MoreInfo href = "http://www.filmpub.cz" /> 


<Entry> 
<Title>Z pekla</Title> 
<BANNER HREF="http://live.atlas.cz/images/logolive.gif">
    <MOREINFO HREF="http://live.atlas.cz" />
<Abstract> R?dia, filmy, rozhovory, film. uk?zky na internetu</Abstract>
</BANNER>


<Title>LIVE.ATLAS.CZ</Title> 
<Author></Author>
<Copyright>? 2001 Bontonfilm</Copyright> 
<MoreInfo href = "http://live.atlas.cz" /> 
<Ref href = "mms://netshow.atlas.cz/bonton/from_hell2856.wmv" /> 
<Logo href = "http://live.atlas.cz/images/atlas-ico.gif" Style = "ICON" />
</Entry>
 </ASX> 
??!
max framesize was 0 bytes
-------------- next part --------------
working (no proxy)

MPlayer CVS-020206-15:43-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon (Type: 6, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX
Reading /home/pl/.mplayer/codecs.conf: 29 audio & 77 video codecs
CommandLine: '-v' '-v' 'http://live.atlas.cz/bonton/fromhell2856.asx'
get_path('font/font.desc') -> '/home/pl/.mplayer/font/font.desc'
font: Reading section: [info]
font: Reading section: [files]
RAW: /home/pl/.mplayer/font//iso-8859-1-a.raw  4216 x 28, 256 colors
RAW: /home/pl/.mplayer/font//iso-8859-1-b.raw  4216 x 28, 256 colors
font: Reading section: [characters]
font: Reading section: [files]
RAW: /home/pl/.mplayer/font//osd-mplayer-a.raw  536 x 32, 256 colors
RAW: /home/pl/.mplayer/font//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 /home/pl/.mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Playing http://live.atlas.cz/bonton/fromhell2856.asx
Connecting to server live.atlas.cz:80 ...
Request: [GET /bonton/fromhell2856.asx HTTP/1.0
Host: live.atlas.cz
User-Agent: MPlayer
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:          [626]
Fields:
 0 - Server: Microsoft-IIS/5.0
 1 - Date: Thu, 07 Feb 2002 12:57:51 GMT
 2 - Content-Type: video/x-ms-asf
 3 - Accept-Ranges: bytes
 4 - Last-Modified: Wed, 09 Jan 2002 13:36:07 GMT
 5 - ETag: "b01ab1971299c11:9b9"
 6 - Content-Length: 626
--- HTTP DEBUG HEADER --- END ---
Content-Type: [video/x-ms-asf]
Content-Length: [626]
Trying ASF/HTTP...
Connecting to server live.atlas.cz:80 ...
Request [GET /bonton/fromhell2856.asx HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: live.atlas.cz: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: Thu, 07 Feb 2002 12:57:51 GMT
Content-Type: video/x-ms-asf
Accept-Ranges: bytes
Last-Modified: Wed, 09 Jan 2002 13:36:07 GMT
ETag: "b01ab1971299c11:9b9"
Content-Length: 626

<ASX Version = "3.0">
<Title>Z pekla</Title>
<MoreInfo href = "http://www.filmpub.cz" /> 


<Entry> 
<Title>Z pekla</Title> 
<BANNER HREF="http://live.atlas.cz/images/logolive.gif">
    <MOREINFO HREF="http://live.atlas.cz" />
<Abstract> R?dia, filmy, rozhovory, film. uk?zky na internetu</Abstract>
</BANNER>


<Title>LIVE.ATLAS.CZ</Title> 
<Author></Author>
<Copyright>? 2001 Bontonfilm</Copyright> 
<MoreInfo href = "http://live.atlas.cz" /> 
<Ref href = "mms://netshow.atlas.cz/bonton/from_hell2856.wmv" /> 
<Logo href = "http://live.atlas.cz/images/atlas-ico.gif" Style = "ICON" />
</Entry>
 </ASX> 
]
=====> ASF Redirector
Connected to server: live.atlas.cz
Parsing playlist http://live.atlas.cz/bonton/fromhell2856.asx...
Trying asx...
Detected asx format
Ignoring element Title
Ignoring element MoreInfo
Ignoring element Title
Ignoring element BANNER
Ignoring element Title
Ignoring element Author
Ignoring element Copyright
Ignoring element MoreInfo
Adding file mms://netshow.atlas.cz/bonton/from_hell2856.wmv to element entry
Adding element Ref to entry
Ignoring element Logo
Adding element Entry to asx
Playlist succefully parsed
Config poped level=1
Config pushed level=2
Config pushed level=3

*** free_stream() called ***
Playing mms://netshow.atlas.cz/bonton/from_hell2856.wmv
Trying ASF/UDP...
  ===> ASF/UDP failed
Trying ASF/TCP...
  ===> ASF/TCP failed
Trying ASF/HTTP...
Connecting to server netshow.atlas.cz:80 ...
Request [GET /bonton/from_hell2856.wmv HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: netshow.atlas.cz: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.3923
Cache-Control: no-cache
Pragma: no-cache
Pragma: client-id=69484
Pragma: features="seekable,stridable"

]
=====> ASF Prerecorded
=====> ASF header chunk follows
Got chunk
Size 2 read=1580
Connecting to server netshow.atlas.cz:80 ...
Request [GET /bonton/from_hell2856.wmv HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: netshow.atlas.cz: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 200 OK
Content-Type: application/octet-stream
Server: Cougar 4.1.0.3923
Cache-Control: no-cache
Pragma: no-cache
Pragma: client-id=69485
Pragma: features="seekable,stridable"

]
=====> ASF Prerecorded
Saving option cache
Cache size set to 350 KBytes
Connected to server: netshow.atlas.cz
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  

Cache fill:  0.00% (0 bytes)    
Cache fill:  2.29% (8192 bytes)    
Cache fill:  2.29% (8192 bytes)    
Cache fill:  2.29% (8192 bytes)    
Cache fill:  2.29% (8192 bytes)    
Cache fill:  4.57% (16384 bytes)    
Cache fill:  6.86% (24576 bytes)    
Cache fill:  6.86% (24576 bytes)    
Cache fill:  9.14% (32768 bytes)    
Cache fill:  9.14% (32768 bytes)    
Cache fill: 11.43% (40960 bytes)    
Cache fill: 11.43% (40960 bytes)    
Cache fill: 13.71% (49152 bytes)    
Cache fill: 13.71% (49152 bytes)    
Cache fill: 16.00% (57344 bytes)    
Cache fill: 18.29% (65536 bytes)    
Cache fill: 18.29% (65536 bytes)    CACHE2_SEEK: 0x0 <= 0x0 (0x0) <= 0x0  
Checking for YUV4MPEG2
Failed: YUV4MPEG2
Detected ASF file format!

 Title: 
 Author: 
 Copyright: 
 Comment: 
 Rating: 

============ ASF Stream group == START ===
 object size = 68
 stream count=[0x7][7]
   stream id=[0x1][1]
   max bitrate=[0x21af][8623]
   stream id=[0x2][2]
   max bitrate=[0x2668][9832]
   stream id=[0x3][3]
   max bitrate=[0x371c][14108]
   stream id=[0x4][4]
   max bitrate=[0x51ae][20910]
   stream id=[0x5][5]
   max bitrate=[0x64a8][25768]
   stream id=[0x6][6]
   max bitrate=[0x700b][28683]
   stream id=[0x7][7]
   max bitrate=[0xbbf4][48116]
============ ASF Stream group == END ===
ASF: packets: 377  flags: 2  max_packet_size: 7252  min_packet_size: 7252  max_bitrate: 156040  preroll: 3717
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes,  stream: 8 bytes  ID: 1
unk1: 0  unk2: 70
FILEPOS=0x172
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 1
Samplerate: 8000
avg byte/sec: 1000
Block align: 64
bits/sample: 16
cbSize: 10
ASF: audio scrambling: 1 x 1 x 384
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 51 bytes,  stream: 0 bytes  ID: 2
unk1: 0  unk2: 70
FILEPOS=0x1E4
==> Found video stream: 2
======= VIDEO Format ======
  biSize 40
  biWidth 176
  biHeight 144
  biPlanes 1
  biBitCount 24
  biCompression 827739479='WMV1'
  biSizeImage 0
===========================
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 51 bytes,  stream: 0 bytes  ID: 3
unk1: 0  unk2: 70
FILEPOS=0x265
==> Found video stream: 3
======= VIDEO Format ======
  biSize 40
  biWidth 176
  biHeight 144
  biPlanes 1
  biBitCount 24
  biCompression 827739479='WMV1'
  biSizeImage 0
===========================
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 51 bytes,  stream: 0 bytes  ID: 4
unk1: 0  unk2: 70
FILEPOS=0x2E6
==> Found video stream: 4
======= VIDEO Format ======
  biSize 40
  biWidth 176
  biHeight 144
  biPlanes 1
  biBitCount 24
  biCompression 827739479='WMV1'
  biSizeImage 0
===========================
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 51 bytes,  stream: 0 bytes  ID: 5
unk1: 0  unk2: 70
FILEPOS=0x367
==> Found video stream: 5
======= VIDEO Format ======
  biSize 40
  biWidth 176
  biHeight 144
  biPlanes 1
  biBitCount 24
  biCompression 827739479='WMV1'
  biSizeImage 0
===========================
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 51 bytes,  stream: 0 bytes  ID: 6
unk1: 0  unk2: 70
FILEPOS=0x3E8
==> Found video stream: 6
======= VIDEO Format ======
  biSize 40
  biWidth 176
  biHeight 144
  biPlanes 1
  biBitCount 24
  biCompression 827739479='WMV1'
  biSizeImage 0
===========================
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 51 bytes,  stream: 0 bytes  ID: 7
unk1: 0  unk2: 70
FILEPOS=0x469
==> Found video stream: 7
======= VIDEO Format ======
  biSize 40
  biWidth 176
  biHeight 144
  biPlanes 1
  biBitCount 24
  biCompression 827739479='WMV1'
  biSizeImage 0
===========================
Found movie at 0x65E - 0x29BE12
ASF: 1 audio and 6 video streams found
 82 00 00 11 5D 00 00 00 00 00 00 74 01 87 01 02
seg 0: 01 02 00 00 00 00 08 80 01 00 00 ED 0E 00 00 80
Auto-selected ASF audio ID = 1
seg 1: 82 01 17 0F 00 00 01 27 8B 01 B1 15 87 80 78 81
seg 2: 87 01 17 0F 00 00 01 26 18 01 C4 0D 87 82 D8 81
Auto-selected ASF video ID = 7
seg 3: 07 03 00 00 00 00 08 36 02 00 00 65 0F 00 00 36
seg 4: 07 04 00 00 00 00 08 1B 02 00 00 8D 0F 00 00 1B
seg 5: 02 05 00 00 00 00 08 A0 00 00 00 DD 0F 00 00 08
seg 6: 07 05 00 00 00 00 08 94 03 00 00 DD 0F 00 00 FB
VIDEO:  [WMV1]  176x144  24bpp
ASF: Searching for audio stream (id:1)
 82 00 00 09 5D 00 73 01 00 00 74 01 89 01 03 00
seg 0: 01 03 00 00 00 00 08 80 01 00 00 2C 10 00 00 80
seg 1: 02 05 08 00 00 00 08 A0 00 00 00 DD 0F 00 00 98
seg 2: 07 05 FB 02 00 00 08 94 03 00 00 DD 0F 00 00 99
seg 3: 02 06 2D 10 00 00 01 27 97 00 73 61 3F FC E0 06
seg 4: 07 06 00 00 00 00 08 D2 02 00 00 2D 10 00 00 D2
seg 5: 07 07 54 10 00 00 01 00 73 00 72 4B 1F FD 1D 46
seg 6: 02 08 00 00 00 00 08 A5 00 00 00 A4 10 00 00 63
seg 7: 07 08 00 00 00 00 08 0A 04 00 00 A4 10 00 00 0A
seg 8: 07 09 00 00 00 00 08 7F 01 00 00 F5 10 00 00 7B
[V] filefmt:6  fourcc:0x31564D57  size:176x144  fps:1000.00  ftime:=0.0010
get_path('sub/') -> '/home/pl/.mplayer/sub/'
Clip info: 
 Name: 
 Author: 
 Copyright: 
 Comments: 
Detected audio codec: [divx] drv:4 (DivX audio (WMA))
Initializing audio codec...
======= Win32 (ACM) AUDIO Codec init =======
Input format:
  wFormatTag 353
  nChannels 1
  nSamplesPerSec 8000
  nAvgBytesPerSec 1000
  nBlockAlign 64
  wBitsPerSample 16
  cbSize 10
Output fmt:
  wFormatTag 1
  nChannels 1
  nSamplesPerSec 8000
  nAvgBytesPerSec 16000
  nBlockAlign 2
  wBitsPerSample 16
  cbSize 0
fs seg 0x4001c000
Loading DLL: 'divxa32.acm'
Audio codec opened OK! ;-)
Audio ACM output buffer min. size: 34816
Audio ACM input buffer min. size: 128
dec_audio: Allocating 34816 + 65536 = 100352 bytes for output buffer
acm converted 64 -> 0
AUDIO: srate=8000  chans=1  bps=2  sfmt=0x10  ratio: 1000->16000
Detected video codec: [wmv7] drv:4 prio:0 (Windows Media Video 7)
vo_debug: query(Packed YUY2) returned 0x1
vo_debug1: out_fmt=Packed YUY2
Loading DLL: 'wmvds32.ax'
get_path('registry') -> '/home/pl/.mplayer/registry'
Using DirectShow codec: wmvds32.ax
Decoder is capable of YUV output ( flags 0x1f)
INFO: Win32/DShow video codec init OK!
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 176x144 => 176x144 Packed YUY2 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
video_out->init(176x144->176x144,flags=0,'MPlayer',0x32595559)
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bits/pixel (":0.0" => local display)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 74 for hw scaling
[xv] dcx: 310 dcy: 361 dx: 0 dy: 0 dw: 176 dh: 144
Disabling DPMS
stat: 1
INFO: Video OUT driver init OK!
vo_xv: get: XV_COLORKEY = 30
vo_xv: assume: XV_COLORKEY = 24
vo_xv: get: XV_FILTER_QUALITY = 1
vo_xv: assume: XV_FILTER_QUALITY = 2000
AO: [oss] 8000Hz Mono Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 8000 Hz  1 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 1 channels (requested: 1)
audio_setup: using 8000 Hz samplerate (requested: 8000)
audio_setup: frags:   8/8  (8192 bytes/frag)  free:  65536
Start playing...

...

*** free_stream() called ***

Exiting... (Quit)
max framesize was 278 bytes
=====> ASF header chunk follows


More information about the MPlayer-advusers mailing list