[MPlayer-users] How to force a bandwidth limit to MMS streams?

Thomas Kuiper tkuiper at inxsoft.net
Sat Nov 13 00:18:23 CET 2004


Hello,

I'm happy that I can watch some TV MMS/WMV streams with mplayer
and my ISP. However they stream with diffrent stream bandwidths which
are embeded in the same stream and mplayer always chooses the stream
which is the fastest 250 K (my bandwidth is only 130K max). The -bandwith
switch doesn't work. Putting a large "-cache" just takes too much time and
easily looses sync after a short time.

When I connect to the stream its announcing the diffrent streams.
How can I pick one? -sid/-vid/-aid doesn't seem to work. Of course
I know they are only for subtitle etc but I tried them all :)
Is there anything else I missed?

Little output of a connect to the stream:

mplayer -v "mms://pluton.club-internet.fr/cnn?transactionID=1115394917&login=tkuiper&produitID=5"

[...]

Trying ASF/TCP...
Resolving pluton.club-internet.fr for AF_INET...
Connecting to server pluton.club-internet.fr[194.158.114.36]:1755 ...
connected

file object, packet length = 16000 (16000)
unknown object
stream object, stream id: 1
stream object, stream id: 2
stream object, stream id: 3
stream object, stream id: 4
unknown object
unknown object
unknown object
data object
mmst packet_length = 16000
Cache size set to 64 KBytes
Connected to server: pluton.club-internet.fr
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  
Cache fill:  0.00% (0 bytes)    ASF file format detected.
============ ASF Stream group == START ===
 object size = 50
 stream count=[0x4][4]
   stream id=[0x1][1]
   max bitrate=[0x102b1][66225]
   stream id=[0x2][2]
   max bitrate=[0xe6b49][944969]
   stream id=[0x3][3]
   max bitrate=[0x9d769][644969]
   stream id=[0x4][4]
   max bitrate=[0x4b6e9][308969]
============ ASF Stream group == END ===
ASF: packets: -1  flags: 9  max_packet_size: 16000  min_packet_size: 16000  max_bitrate: 1965132  preroll: 5000

... Then it plays but stucks. I can register it without trouble using
"mmsclient".

How can I pick one of those "ASF Stream group"? I suppose its the thing
I'm looking for...

Thomas




More information about the MPlayer-users mailing list