LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2007, 04:28 PM   #1
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
mplayer (plug-in) file not found with akamai mms servers


I just converted my last Windoze machine to Linux and have _almost_ all the functionality I used to have except for playing embedded videos. I have mplayer and mplayerplug-in installed but every time I try to play videos from www.nba.com the mplayer tries to connect and play but fails.

I tried to diagnose the problem by turning on the debug mode (debug=1 in /etc/mplayer/mplayerplug-in.conf) and running mplayer from the command line and the upshot is the server (from akamai.net) returns 404 File not found:

Code:
dbrazziel@dell566:~/MyVideos$ mplayer mms://a1732.v12176c.c12176.g.vm.akamaistream.net/7/1732/12176/v0001/cavaliers.download.akamai.com/12176/worldbfree051130.wmv
MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing mms://a1732.v12176c.c12176.g.vm.akamaistream.net/7/1732/12176/v0001/cavaliers.download.akamai.com/12176/worldbfree051130.wmv.
STREAM_ASF, URL: mms://a1732.v12176c.c12176.g.vm.akamaistream.net/7/1732/12176/v0001/cavaliers.download.akamai.com/12176/worldbfree051130.wmv
Resolving a1732.v12176c.c12176.g.vm.akamaistream.net for AF_INET6...
Couldn't resolve name for AF_INET6: a1732.v12176c.c12176.g.vm.akamaistream.net
Resolving a1732.v12176c.c12176.g.vm.akamaistream.net for AF_INET...
Connecting to server a1732.v12176c.c12176.g.vm.akamaistream.net[65.116.204.140]: 1755...
Connected
read error:: Operation now in progress
pre-header read failed
Resolving a1732.v12176c.c12176.g.vm.akamaistream.net for AF_INET6...
Couldn't resolve name for AF_INET6: a1732.v12176c.c12176.g.vm.akamaistream.net
Resolving a1732.v12176c.c12176.g.vm.akamaistream.net for AF_INET...
Connecting to server a1732.v12176c.c12176.g.vm.akamaistream.net[65.116.204.143]: 80...
Server returned 404:Not Found
Failed to parse header.
Failed, exiting.
Resolving a1732.v12176c.c12176.g.vm.akamaistream.net for AF_INET6...
Couldn't resolve name for AF_INET6: a1732.v12176c.c12176.g.vm.akamaistream.net
Resolving a1732.v12176c.c12176.g.vm.akamaistream.net for AF_INET...
Connecting to server a1732.v12176c.c12176.g.vm.akamaistream.net[65.116.204.140]: 80...
Cache size set to 320 KBytes
Cache fill:  0.08% (278 bytes)


Exiting... (End of file)
The web page that contains a link to an .asx file which links to the mms server is here:

http://www.nba.com/sixers/community/world_b_free.html

Right click on 'Play' for the 'Free Honored in Cleveland' image on the right shows the properties to be:

http://mfile.akamai.com/12176/wmv/ca...free051130.asx

This file contains the following code:

<ASX VERSION="3.0">
<ENTRY>
<REF HREF="mms://a1732.v12176c.c12176.g.vm.akamaistream.net/7/1732/12176/v0001/cavaliers.download.akamai.com/12176/worldbfree051130.wmv" />
</ENTRY>
</ASX>

which of course points to the mms server/file I used as a command line argument to mplayer.

This is driving me crazy because Windows 98SE and WinXP don't have a problem playing this file and mplayer is able to play .wmv files I have stored on my hard drive, so I've done the due diligence vis-a-vis codecs, etc.

Thanks in advance for any input related to mplayer and mplayerplug-in .
 
Old 03-04-2007, 04:49 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Make sure you have installed the libmms package. However, your link seems to be dead. When I tried it, I ended up with a 404 error.

There will always be some sites the only want to support windows and choose the most exclusive technologies. I just don't bother with them, or dig into the source and download the actual streamed file if possible using curl or wget.

Also check if there are updates to mplayer, and see if another player will work.

Last edited by jschiwal; 03-04-2007 at 04:52 PM.
 
Old 03-04-2007, 06:44 PM   #3
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180

Original Poster
Blog Entries: 1

Rep: Reputation: 32
mplayer is up to date and the link is not dead.

Thanks for the reply! Mplayer and mplayerplug-in that I use are from the Debian testing distribution (Etch), so they are up to date. As I stated in my original post the links work fine in Windoze, so they are certainly "live". I tried to rip the stream with mplayer and here's what I got:

Code:
mplayer -dumpfile wbfree.wmv -dumpstream mms://a1732.v12176c.c12176.g.vm.akamaistream.net/7/1732/12176/v0001/cavaliers.download.akamai.com/12176/worldbfree051130.wmv
MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing mms://a1732.v12176c.c12176.g.vm.akamaistream.net/7/1732/12176/v0001/cavaliers.download.akamai.com/12176/worldbfree051130.wmv.
STREAM_ASF, URL: mms://a1732.v12176c.c12176.g.vm.akamaistream.net/7/1732/12176/v0001/cavaliers.download.akamai.com/12176/worldbfree051130.wmv
Resolving a1732.v12176c.c12176.g.vm.akamaistream.net for AF_INET6...
Couldn't resolve name for AF_INET6: a1732.v12176c.c12176.g.vm.akamaistream.net
Resolving a1732.v12176c.c12176.g.vm.akamaistream.net for AF_INET...
Connecting to server a1732.v12176c.c12176.g.vm.akamaistream.net[81.52.201.37]: 1755...
Connected
read error:: Operation now in progress
pre-header read failed
Resolving a1732.v12176c.c12176.g.vm.akamaistream.net for AF_INET6...
Couldn't resolve name for AF_INET6: a1732.v12176c.c12176.g.vm.akamaistream.net
Resolving a1732.v12176c.c12176.g.vm.akamaistream.net for AF_INET...
Connecting to server a1732.v12176c.c12176.g.vm.akamaistream.net[81.52.201.162]: 80...
Server returned 404:Not Found
Failed to parse header.
Failed, exiting.
Resolving a1732.v12176c.c12176.g.vm.akamaistream.net for AF_INET6...
Couldn't resolve name for AF_INET6: a1732.v12176c.c12176.g.vm.akamaistream.net
Resolving a1732.v12176c.c12176.g.vm.akamaistream.net for AF_INET...
Connecting to server a1732.v12176c.c12176.g.vm.akamaistream.net[81.52.201.37]: 80...
Cache size set to 320 KBytes
Stream not seekable!
Core dumped ;)

Exiting... (End of file)
I'd hate to have to file a bug report against mplayer titled "Doesn't work with mms servers" but, well, in my experience it doesn't.
 
Old 03-04-2007, 06:54 PM   #4
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180

Original Poster
Blog Entries: 1

Rep: Reputation: 32
Same mms failures occur with any and all of the videos on the following recently updated page (again, Windows plays these without any problem whatsoever):

http://aol.nba.com/allstar2007/dunka...t_in_game.html

I tried using vlc (says "no video"), and totem (no mms support, blah blah blah).
 
Old 03-04-2007, 07:45 PM   #5
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180

Original Poster
Blog Entries: 1

Rep: Reputation: 32
OK, got a video clip to play using the following link extracted from an .asx file (still won't play in the iceweasel window using mplayerplug-in):

mms://a1234.v203537.c20353.g.vm.akamaistream.net/7/1234/20353/v0001/nbastreams.download.akamai.com/20353/72/94/7294faa40f01ea16d2489119db904498-45cb5c3b.asf?ts=1173057826&ttl=43200&cs=263D97CC34F5EDF3B78D0F207EDAFEC82ACFFA22

The clip is fantastic but so many hoops to jump through to experience it. Many bugs need to be fixed.
 
Old 03-04-2007, 08:40 PM   #6
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180

Original Poster
Blog Entries: 1

Rep: Reputation: 32
OK, having more success after adding package 'libmms0', it took about 10 minutes for a 2 minute video clip to
download/buffer (I'm on a cable modem connection) and now it's playing choppily (mplayer says my system is TOO SLOW to play this clip - point taken lol).
Thanks again for the tip.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mms stream playing in mplayer but not gxine bl0tt0 Slackware 2 10-31-2006 01:25 PM
In Kubuntu I have compiled MPlayer and it works fine, MPlayer Plug-in is not working kickass331 Linux - Newbie 10 08-11-2006 09:12 PM
mplayer and Firefox mms streams and more FireFerum SUSE / openSUSE 1 11-10-2005 10:27 PM
Can't get mms broadcast with mplayer mfeat Linux - Software 4 09-28-2005 11:15 AM
mms and mplayer zupermanz Mandriva 3 09-14-2004 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration