[MPlayer-users] mms fails with >= 1.0pre5

David Purton dcpurton at chariot.net.au
Thu Nov 18 12:13:42 CET 2004


Hi,

I'm trying to play this stream:
    mms://insm55.abc.net.au/wmtencoder/digjazz.wmv

It works fine in 1.0pre4, but I cannot get it to go in 1.0pre5 or cvs.

See below for outputs (long).

Here's what I find. The stream is on port 80, by default 1.0pre5 and cvs try
port 1755. This port is firewalled on insm55.abc.net.au and mplayer just sits
there trying to connect, but never does. If I firewall port 1755 at my end to
reject packets, mplayer simply just quits, with a connection refused error. If I
specify port 80, mplayer connects (using cvs, this doesn't work in 1.0pre5), but
never plays the stream.

I could just keep using 1.0pre4, but I think I read there was a security
vulnerability reported with it a while ago and also the I only seem to be able
to get a very low bitrate with 1.0pre4 (windows media player goes up to 128 kbs,
but I only get about 32 kbs using mplayer - If I specify a high -bandwidth, the
stream will not play at all).

Firstly, can someone else confirm that this isn't just a problem with my build
and assuming that this is a bug, can someone offer a work around or fix?

cheers

dc



Useful info:

=====

System: Debian/unstable i686

$ uname -a
Linux twoflower 2.4.26 #1 Sat Sep 25 14:48:46 CST 2004 i686 GNU/Linux
$ gcc -v
gcc version 3.3.5 (Debian 1:3.3.5-2)
$ ld -v
GNU ld version 2.15
$ as --version
GNU assembler 2.15

mplayer configured with:
./configure --prefix=/usr --confdir=/etc/mplayer --enable-gui --enable-qtx
--with-codecsdir=/usr/local/lib/codecs
and built with:
debian/rules binary


=====


Common output from all trials using cvs version:

mplayer -v mms://insm55.abc.net.au/wmtencoder/digjazz.wmv
MPlayer dev-CVS-041115-22:37-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping:
1)Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

73 audio & 180 video codecs
CommandLine: '-v' 'mms://insm55.abc.net.au/wmtencoder/digjazz.wmv'
init_freetype
get_path('font/font.desc') -> '/home/dcpurton/.mplayer/font/font.desc'
font: can't open file: /home/dcpurton/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/dcpurton/.mplayer/input.conf'
Can't open input config file /home/dcpurton/.mplayer/input.conf: No such file or
directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('digjazz.wmv.conf') -> '/home/dcpurton/.mplayer/digjazz.wmv.conf'
Playing mms://insm55.abc.net.au/wmtencoder/digjazz.wmv.
.
.
.



Output with port 1755 firewalled at my end:

.
.
.
Playing mms://insm55.abc.net.au/wmtencoder/digjazz.wmv.
Filename for url is now mms://insm55.abc.net.au/wmtencoder/digjazz.wmv
Filename for url is now mms://insm55.abc.net.au/wmtencoder/digjazz.wmv
Trying ASF/UDP...
  ===> ASF/UDP failed
Trying ASF/TCP...
Resolving insm55.abc.net.au for AF_INET...
Connecting to server insm55.abc.net.au[203.2.218.29]:1755 ...
Connect error : Connection refused
  ===> ASF/TCP failed
Trying ASF/HTTP...
Resolving insm55.abc.net.au for AF_INET...
Connecting to server insm55.abc.net.au[203.2.218.29]:1755 ...
Connect error : Connection refused
  ===> ASF/HTTP failed
asf_streaming_start failed
Check if this is a playlist which requires -playlist option
Example: mplayer -playlist <url>
Unable to open URL: mms://insm55.abc.net.au/wmtencoder/digjazz.wmv

vo: x11 uninit called but X11 not inited..

Exiting... (End of file)



Output specifying port:

.
.
.
Playing mms://insm55.abc.net.au:80/wmtencoder/digjazz.wmv.
Filename for url is now mms://insm55.abc.net.au:80/wmtencoder/digjazz.wmv
Filename for url is now mms://insm55.abc.net.au:80/wmtencoder/digjazz.wmv
Trying ASF/UDP...
  ===> ASF/UDP failed
Trying ASF/TCP...
Resolving insm55.abc.net.au for AF_INET...
Connecting to server insm55.abc.net.au[203.2.218.29]:80 ...
connected


[ just hangs - not playing or downloading anything ]


Output with port 1755 not firewalled at my end:

.
.
.
Playing mms://insm55.abc.net.au/wmtencoder/digjazz.wmv.
Filename for url is now mms://insm55.abc.net.au/wmtencoder/digjazz.wmv
Filename for url is now mms://insm55.abc.net.au/wmtencoder/digjazz.wmv
Trying ASF/UDP...
  ===> ASF/UDP failed
Trying ASF/TCP...
Resolving insm55.abc.net.au for AF_INET...
Connecting to server insm55.abc.net.au[203.2.218.29]:1755 ...


[ just hangs - not playing or downloading anything ]


====


I can play this stream from the same broadcaster, but it is on port 1755, not 80:

mplayer -v mms://media4.abc.net.au/network1
.
.
.
Playing mms://media4.abc.net.au/network1.
Filename for url is now mms://media4.abc.net.au/network1
Filename for url is now mms://media4.abc.net.au/network1
Trying ASF/UDP...
  ===> ASF/UDP failed
Trying ASF/TCP...
Resolving media4.abc.net.au for AF_INET...
Connecting to server media4.abc.net.au[203.2.218.28]:1755 ...
connected
file object, packet length = 773 (773)
unknown object
stream object, stream id: 1
unknown object
data object
mmst packet_length = 773
Cache size set to 64 KBytes
Connected to server: media4.abc.net.au
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill:  0.00% (0 bytes)

====

For comparison, here is the output with mplayer_1.0pre4, which works:

MPlayer 1.0pre4-3.3.3 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 620.0 MHz (Family: 6,
Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/dcpurton/.mplayer/config
Reading /home/dcpurton/.mplayer/codecs.conf: 73 audio & 180 video codecs
CommandLine: '-v' 'mms://insm55.abc.net.au/wmtencoder/digjazz.wmv'
init_freetype
get_path('font/font.desc') -> '/home/dcpurton/.mplayer/font/font.desc'
font: can't open file: /home/dcpurton/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/dcpurton/.mplayer/input.conf'
Can't open input config file /home/dcpurton/.mplayer/input.conf: No such file or
directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('digjazz.wmv.conf') -> '/home/dcpurton/.mplayer/digjazz.wmv.conf'

Playing mms://insm55.abc.net.au/wmtencoder/digjazz.wmv.
Filename for url is now mms://insm55.abc.net.au/wmtencoder/digjazz.wmv
Trying ASF/HTTP...
Resolving insm55.abc.net.au for AF_INET...
Connecting to server insm55.abc.net.au[203.2.218.29]:80 ...
=====> ASF Live stream
=====> ASF header chunk follows
Stream bitrate properties object
Max bandwidth set to 0
Resolving insm55.abc.net.au for AF_INET...
Connecting to server insm55.abc.net.au[203.2.218.29]:80 ...
=====> ASF Live stream
Cache size set to 64 KBytes
Connected to server: insm55.abc.net.au
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill:  0.00% (0 bytes)    =====> ASF header chunk follows
Cache fill: 12.50% (8192 bytes)

[ stream plays as expected ]


====






More information about the MPlayer-users mailing list