[MPlayer-users] BUG: no video in ASF stream

J. Hoffmann hoffmajs at gmx.de
Wed Nov 19 06:57:18 CET 2003


Hi,

I tried playing
mplayer -bandwidth 9000 mms://demand.stream.aol.com/wb/gl/wbonline/windows/
wbol/de/html/movies/herrderringe/trailers/Trailer_13.75MB.wmv

but mplayer (current CVS) can't find the video block in the stream:
it just reads the whole stream in ds_fill_buffer until eof (called from
demux_open_stream.)
Audio plays fine, though. (see debug output below)
Maybe something with the "unknown extra header"?

Also when i omit the -bandwidth option, mplayer assumes 0 and takes
that literally: it just quits instead of trying the maximum
possible bandwidth :(


Greetings,
Jens H.


debug.log: (verbose = 2)
MPlayer dev-CVS-031119-05:08-3.3.2 (C) 2000-2003 MPlayer Team
...
Playing mms://demand.stream.aol.com/wb/gl/wbonline/windows/wbol/de/html/
movies/herrderringe/trailers/Trailer_13.75MB.wmv.
Trying ASF/HTTP...
Resolving demand.stream.aol.com for AF_INET...
Connecting to server demand.stream.aol.com[64.12.56.25]:80 ...
Request [GET /wb/gl/wbonline/windows/wbol/de/html/movies/herrderringe/
trailers/Trailer_13.75MB.wmv HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: demand.stream.aol.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/octet-stream
Server: Cougar 4.1.0.3930
Cache-Control: no-cache
Pragma: no-cache
Pragma: client-id=175780
Pragma: features="seekable,stridable"

]
=====> ASF Prerecorded
=====> ASF header chunk follows
Got chunk
Size 2 read=2111
Stream bitrate properties object
Max bandwidth set to 9000
 stream count=[0x2][2]
   stream id=[0x1][1]
   max bitrate=[0xfd3e][64830]
total_bitrate=129660
id=1
Resolving demand.stream.aol.com for AF_INET...
Connecting to server demand.stream.aol.com[205.188.214.185]:80 ...
Request [GET /wb/gl/wbonline/windows/wbol/de/html/movies/herrderringe/
trailers/Trailer_13.75MB.wmv HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: demand.stream.aol.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:2
Pragma: stream-switch-count=2
Connection: Close

]
Response [HTTP/1.0 200 OK
Content-Type: application/octet-stream
Server: Cougar 4.1.0.3930
Cache-Control: no-cache
Pragma: no-cache
Pragma: client-id=784300
Pragma: features="seekable,stridable"
]
=====> ASF Prerecorded
Cache size set to 1900 KBytes
Connected to server: demand.stream.aol.com
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  
Cache fill:  0.00% (0 bytes)    =====> ASF header chunk follows
...
Cache fill: 19.37% (376832 bytes)    
CACHE2_SEEK: 0x0 <= 0x0 (0x0) <= 0x0  
ASF file format detected.
ASF: packets: 1802  flags: 2  max_packet_size: 8000  min_packet_size: 8000  
max_bitrate: 1039206  preroll: 3000
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes,  stream: 8 bytes  ID: 1
unk1: 0  unk2: 12F76C
FILEPOS=0x620
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 44100
avg byte/sec: 8005
Block align: 1487
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [88] [0] [0] [f] [0] [79] [2e] [0] [0] 
===========================
ASF: audio scrambling: 1 x 1 x 1487
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 55 bytes,  stream: 0 bytes  ID: 2
unk1: 0  unk2: 67F0538
FILEPOS=0x692
==> Found video stream: 2
======= VIDEO Format ======
  biSize 44
  biWidth 384
  biHeight 220
  biPlanes 1
  biBitCount 24
  biCompression 844516695='WMV2'
  biSizeImage 0
Unknown extra header dump: [ca] [58] [fc] [80] 
===========================
============ ASF Stream group == START ===
 object size = 38
 stream count=[0x2][2]
   stream id=[0x1][1]
   max bitrate=[0xfd3e][64830]
   stream id=[0x2][2]
   max bitrate=[0xede27][974375]
============ ASF Stream group == END ===

 Title: Der Herr der Ringe - Die Rueckkehr des Koenigs [Warner Bros. Pictures 
Germany]
 Author: Encoded by: S&L Medienproduktion GmbH
 Copyright: (c) Warner Bros. Pictures Germany

Found movie at 0x871 - 0xDC00F1
ASF: 1 audio and 1 video streams found
 82 00 00 11 5D 00 00 00 00 00 00 2D 02 83 81 01
seg 0: 81 01 00 00 00 00 08 CF 05 00 00 B8 0B 00 00 CF
Auto-selected ASF audio ID = 1
seg 1: 81 02 00 00 00 00 08 CF 05 00 00 43 0C 00 00 CF
seg 2: 81 03 00 00 00 00 08 CF 05 00 00 FD 0C 00 00 CF
 82 00 00 09 5D 00 2D 02 00 00 52 00 81 81 04 00
seg 0: 81 04 00 00 00 00 08 CF 05 00 00 88 0D 00 00 CF
 82 00 00 09 5D 00 D0 02 00 00 28 00 81 81 05 00
seg 0: 81 05 00 00 00 00 08 CF 05 00 00 13 0E 00 00 CF
 82 00 00 09 5D 00 98 03 00 00 50 00 81 81 06 00

[a lot more lines like that skipped]

seg 0: 81 06 00 00 00 00 08 CF 05 00 00 70 0E 00 00 CF
 82 00 00 11 5D 00 00 AF 90 02 00 00 00 83 81 8A
seg 0: 81 8A 00 00 00 00 08 CF 05 00 00 0D 98 02 00 CF
seg 1: 81 8B 00 00 00 00 08 CF 05 00 00 C7 98 02 00 CF
seg 2: 81 8C 00 00 00 00 08 CF 05 00 00 40 9A 02 00 CF
ds_fill_buffer: EOF reached (stream: video)  
ASF: No video stream found.
ASF: Searching for audio stream (id:1).
Clip info:
 name: Der Herr der Ringe - Die Rueckkehr des Koenigs [Warner Bros. Pictures 
Germany]
 author: Encoded by: S&L Medienproduktion GmbH
 copyright: (c) Warner Bros. Pictures Germany
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 131072 + 65536 = 196608 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 8005->176400 (64.0 kbit)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (ffmpeg))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps 
= 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int 
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
ao2: 44100 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 44100 Hz samplerate (requested: 44100)
audio_setup: frags:   8/8  (8192 bytes/frag)  free:  65536
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps 
= 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps 
= 2
Video: no video
Freeing 0 unused video chunks
Starting playback...


--
Save the whales. Feed the hungry. Free the mallocs.



More information about the MPlayer-users mailing list