[MPlayer-users] Problem with asf streaming with redirect and content-type video/x-ms-asf

Krzysztof Duchnowski amidk75 at gmail.com
Mon Sep 1 20:23:13 CEST 2008


Marco Munderloh pisze:
> Sorry, revision is 27506 (15146 was from external lib).
> 
> Marco Munderloh wrote:
>> Hi there,
>>
>> I have problems with asf streaming in svn revision 15146 from
>> http://wstreaming.zdf.de. The server delivers a ASF redirect content,
>> but http-content-type is set to Video/x-ms-asf. In
>> stream/asf_streaming.c in function asf_http_streaming_type it is
>> assumed, that all content with type above is ASF_Prerecorded_e with is
>> wrong. If I outcomment the line 477, the type is set correctly later to
>> ASF_Redirector_e and the stream plays perfectly.
>>
>> Why is this assumption made? Shouldn't the asf-type-detector be some
>> what independent from http-content-type?

OK. My bad. What's in earlier post is irrelevant.
It's playing but not from webbrowser:

mplayer -playlist http://wstreaming.zdf.de/zdf/300/080901_niklasch_h19.asx
MPlayer dev-SVN-r27474-4.1.3 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 95, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Resolving wstreaming.zdf.de for AF_INET...
Connecting to server wstreaming.zdf.de[91.197.28.140]: 80...
STREAM_ASF, URL: http://wstreaming.zdf.de/zdf/300/080901_niklasch_h19.asx
Resolving wstreaming.zdf.de for AF_INET...
Connecting to server wstreaming.zdf.de[91.197.28.140]: 80...
size_confirm mismatch!: 22611 28271
Error while parsing chunk header
Failed, exiting.
Resolving wstreaming.zdf.de for AF_INET...
Connecting to server wstreaming.zdf.de[91.197.28.140]: 80...
Cache size set to 8192 KBytes

Playing 
mms://c36000-o.w.core.cdn.streamfarm.net/36000zdf/ondemand/3546zdf/zdf/zdf/08/09/080901_niklasch_h19_h.wmv.
STREAM_ASF, URL: 
mms://c36000-o.w.core.cdn.streamfarm.net/36000zdf/ondemand/3546zdf/zdf/zdf/08/09/080901_niklasch_h19_h.wmv
Resolving c36000-o.w.core.cdn.streamfarm.net for AF_INET...
Connecting to server c36000-o.w.core.cdn.streamfarm.net[217.243.250.17]: 
1755...
Connected
file object, packet length = 6800 (6800)
unknown object
unknown object
stream object, stream ID: 1
stream object, stream ID: 2
unknown object
unknown object
unknown object
data object
mmst packet_length = 6800
Cache size set to 8192 KBytes
Cache fill: 19.73% (1654784 bytes)
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO:  [WMV3]  432x240  24bpp  1000.000 fps  480.0 kbps (58.6 kbyte/s)
Clip info:
  name:
  author: ZDF
  copyright: (c) 2008 ZDF
  comments:
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Couldn't open video filter 'ass'.
ASS: cannot add video filter
Opening video filter: [screenshot]
[ass] Init
[ass] Updating font cache.
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0   size:311040  align:1
StreamCount r=0x0  1  1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 
RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 432 x 240 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x8e91c30]No accelerated colorspace conversion found.
[swscaler @ 0x8e91c30]using unscaled yuv420p -> rgb24 special converter
VO: [gl] 432x240 => 432x240 Planar YV12  [fs]
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8003->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
A:  18.7 V:  18.7 A-V:  0.003 ct: -0.029 419/419  3%  2%  0.3% 3 0 20%
Exiting... (Quit)


-- 
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.mozilla.com/firefox/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/



More information about the MPlayer-users mailing list