[MPlayer-users] mms username and password, possible?
Shane Helms
jovial_man at yahoo.com
Fri Dec 22 13:17:39 CET 2006
Hi guys,
I wish to view a WMV (video) file from an MMS server
using mplayer.
The server requires username and password
authorization.
I've tested it using Windows Media Player and it
works.
A simple username/password box comes up at start, and
once I enter my username and password, the player
starts playing the video.
But I have been unsuccessful with mplayer.
I've tried: mplayer -v
mms://www.myserver.com:777@www.myserver.com/wmv/file.wmv
MPlayer 1.0rc1-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.73GHz (Family:
6, Model: 13, Stepping: 8)
MMX2 supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1
SSE2: 1
Compiled for x86 CPU with extensions: MMX 3DNow SSE
SSE2
get_path('codecs.conf') ->
'/home/shane/.mplayer/codecs.conf'
Reading /home/shane/.mplayer/codecs.conf: Can't open
'/home/shane/.mplayer/codecs.conf': No such file or
directory
Reading /usr/share/mplayer/codecs.conf: Can't open
'/usr/share/mplayer/codecs.conf': No such file or
directory
Using built-in default codecs.conf.
CommandLine: '-v'
'mms://www.myserver.com:777@www.myserver.com/wmv/file.wmv'
init_freetype
Using MMX (with tiny bit 3DNow) Optimized
OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') ->
'/home/shane/.mplayer/input.conf'
Can't open input config file
/home/shane/.mplayer/input.conf: No such file or
directory
Parsing input config file
/usr/share/mplayer/input.conf
Input config file /usr/share/mplayer/input.conf
parsed: 67 binds
get_path('file.wmv.conf') ->
'/home/shane/.mplayer/file.wmv.conf'
Playing
mms://www.myserver.com:777@www.myserver.com/wmv/file.wmv.
get_path('sub/') -> '/home/shane/.mplayer/sub/'
Filename for url is now
mms://www.myserver.com:777@www.myserver.com/wmv/file.wmv
Filename for url is now
mms://www.myserver.com:777@www.myserver.com/wmv/file.wmv
STREAM_ASF, URL:
mms://www.myserver.com:777@www.myserver.com/wmv/file.wmv
Trying ASF/UDP...
===> ASF/UDP failed
Trying ASF/TCP...
Resolving www.myserver.com for AF_INET...
Connecting to server www.myserver.com[67.159.26.93]:
1755...
Connected
read error:: Operation now in progress
pre-header read failed
===> ASF/TCP failed
Trying ASF/HTTP...
Resolving www.myserver.com for AF_INET...
Connecting to server www.myserver.com[67.159.26.93]:
80...
Server returned 404:Not Found
Failed to parse header.
===> ASF/HTTP failed
Failed, exiting.
Filename for url is now
mms://www.myserver.com:777@www.myserver.com/wmv/file.wmv
Filename for url is now
mms://www.myserver.com:777@www.myserver.com/wmv/file.wmv
STREAM_HTTP(2), URL:
mms://www.myserver.com:777@www.myserver.com/wmv/file.wmv
Resolving www.myserver.com for AF_INET...
Connecting to server www.myserver.com[67.159.26.93]:
80...
--- HTTP DEBUG HEADER --- START ---
protocol: [HTTP/1.1]
http minor version: [1]
uri: [(null)]
method: [(null)]
status code: [404]
reason phrase: [Not Found]
body size: [1065]
Fields:
0 - Content-Length: 1065
1 - Content-Type: text/html
2 - Server: Microsoft-IIS/6.0
3 - X-Powered-By: ASP.NET
4 - Date: Fri, 22 Dec 2006 11:55:27 GMT
5 - Connection: close
--- HTTP DEBUG HEADER --- END ---
Server returned 404: Not Found
File not found:
'www.myserver.com:777 at www.myserver.com/wmv/file.wmv'
Failed to open
mms://www.myserver.com:777@www.myserver.com/wmv/file.wmv.
vo: x11 uninit called but X11 not inited..
Exiting... (End of file)
--------------------------------------
--------------------------------------
--------------------------------------
I've also tried:
mplayer -user www.myserver.com -passwd 777 -v
http://www.myserver.com:1755/wmv/file.wmv
MPlayer 1.0rc1-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.73GHz (Family:
6, Model: 13, Stepping: 8)
MMX2 supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1
SSE2: 1
Compiled for x86 CPU with extensions: MMX 3DNow SSE
SSE2
get_path('codecs.conf') ->
'/home/shane/.mplayer/codecs.conf'
Reading /home/shane/.mplayer/codecs.conf: Can't open
'/home/shane/.mplayer/codecs.conf': No such file or
directory
Reading /usr/share/mplayer/codecs.conf: Can't open
'/usr/share/mplayer/codecs.conf': No such file or
directory
Using built-in default codecs.conf.
CommandLine: '-user' 'www.myserver.com' '-passwd'
'777' '-v' 'http://www.myserver.com:1755/wmv/file.wmv'
init_freetype
Using MMX (with tiny bit 3DNow) Optimized
OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') ->
'/home/shane/.mplayer/input.conf'
Can't open input config file
/home/shane/.mplayer/input.conf: No such file or
directory
Parsing input config file
/usr/share/mplayer/input.conf
Input config file /usr/share/mplayer/input.conf
parsed: 67 binds
get_path('file.wmv.conf') ->
'/home/shane/.mplayer/file.wmv.conf'
Playing http://www.myserver.com:1755/wmv/file.wmv.
get_path('sub/') -> '/home/shane/.mplayer/sub/'
Filename for url is now
http://www.myserver.com:1755/wmv/file.wmv
Filename for url is now
http://www.myserver.com:1755/wmv/file.wmv
STREAM_HTTP(1), URL:
http://www.myserver.com:1755/wmv/file.wmv
Resolving www.myserver.com for AF_INET...
Connecting to server www.myserver.com[67.159.26.93]:
1755...
http_read_response read 0 (i.e. EOF).
Filename for url is now
http://www.myserver.com:1755/wmv/file.wmv
Filename for url is now
http://www.myserver.com:1755/wmv/file.wmv
STREAM_ASF, URL:
http://www.myserver.com:1755/wmv/file.wmv
Trying ASF/HTTP...
Resolving www.myserver.com for AF_INET...
Connecting to server www.myserver.com[67.159.26.93]:
1755...
read: Operation now in progress
===> ASF/HTTP failed
Failed, exiting.
Filename for url is now
http://www.myserver.com:1755/wmv/file.wmv
Filename for url is now
http://www.myserver.com:1755/wmv/file.wmv
STREAM_HTTP(2), URL:
http://www.myserver.com:1755/wmv/file.wmv
Resolving www.myserver.com for AF_INET...
Connecting to server www.myserver.com[67.159.26.93]:
1755...
http_read_response read 0 (i.e. EOF).
File not found: 'www.myserver.com:1755/wmv/file.wmv'
Failed to open
http://www.myserver.com:1755/wmv/file.wmv.
vo: x11 uninit called but X11 not inited..
Exiting... (End of file)
-------------------------------------
-------------------------------------
-------------------------------------
I don't know what else to try.... and to the best of
my knowledge mplayer is the best player for this type
of files....
any ideas or help would be much appreciated.
Thanks,
Shane
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the MPlayer-users
mailing list