LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-11-2005, 04:23 PM   #1
kentri9
Member
 
Registered: Aug 2004
Distribution: Fedora Core 2
Posts: 39

Rep: Reputation: 15
problem with mplayer plugin mozilla for .asx files


I have installed mplayer, mplayer-plugin and plugger.
Plugin for mozilla is working well EXCEPT .asx files like:

http://www.dr.dk/netradio/boogie32.asx

When I open this page, nothing happens.

But I can play this file from command line as:

mplayer -playlist http://www.dr.dk/netradio/boogie32.asx

What could I do to make it work as mozilla-plugin?

any help is appreciated

distro: FC2
 
Old 04-11-2005, 06:31 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: Arch
Posts: 4,991
Blog Entries: 6

Rep: Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789
curl http://www.dr.dk/netradio/boogie32.asx
shows that the file is sitting at
http://wmsc.dr.dk/e02ch07m?wmcontentbitrate=40000

I was able to play it with Mplayer but Mplayers browser plug in downloads the link and quits.

Looks like one of those scripts made to open a pop up window and play the link in windows media player. Don't worry about it. Find a work around like you did. The more of us penguin users that there continues to be the more they are going to have to use standard page coding. Some of that is also to prevent you from downloading a local copy of the file.

You can still play it. Use "curl" to see where the link points to, then use Mplayer to play it. I go out of my way to find a solution to a problem rather than turn on the windows box.
 
Old 04-11-2005, 06:37 PM   #3
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
I had the same result... The plugin seems to load mplayer then just stops. page done. if I right click and PLAY it does nothing either.

I'm would also like to know if this is something common that needs to be addressed, not really that I need to play these formats all the time but I just hate things that are broken.

KC
 
Old 04-11-2005, 08:44 PM   #4
kentri9
Member
 
Registered: Aug 2004
Distribution: Fedora Core 2
Posts: 39

Original Poster
Rep: Reputation: 15
Thank you guys

I just thought it would be great if I could play it on mozilla without using shell.

Anyway, I continue using command line to play .asx files
 
Old 05-07-2005, 09:56 AM   #5
jelang
LQ Newbie
 
Registered: Aug 2004
Location: Ventura County, CA, USA
Distribution: SuSE Pro 9.3
Posts: 13

Rep: Reputation: 0
Ok, you say that you continue to use command line to play .asx files.

I am still quite green as it relates to the Linux environment and don't know any command that will accomplish this. Where would I find documentation as to how to create the specific command line that I would need to use for this purpose?

Please phrase your answer in laymen's terms that don't require years of expereience gained by bashing one's head against the wall surrounding Linux documentation. Spread a welcome mat for us greenhorns.

I don't particularly care what software I use to play .asx files as long as I don't have to use software produced by Wee Willie Gates Inc.
 
Old 05-07-2005, 10:32 AM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,865
Blog Entries: 28

Rep: Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530
I use Firefox along with the mplayer-plugin and kplayer.

Find the actual url that the sound/music file is coming from like the one posted
http://wmsc.dr.dk/e02ch07m?wmcontentbitrate=40000
Open Kplayer or Mplayer click file>Open URl>enter the url
and poof it plays.

Personally I like SHoutcast as it lloads and plays just fine in either XMMS or Mplayer.
 
Old 05-07-2005, 11:31 AM   #7
teckk
Senior Member
 
Registered: Oct 2004
Distribution: Arch
Posts: 4,991
Blog Entries: 6

Rep: Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789Reputation: 1789
jelang

He was refuring to using a command line entry to run the .asx file using Mplayer.

If you have mplayer installed then
If you don't have mplayer installed (arguably the best media player for Linux), you can get it here. Install the codecs first, read the instructions. Or you can use yast or apt-get or whatever you use to install software.

http://www.mplayerhq.hu/homepage/design7/news.html
http://www.mplayerhq.hu/homepage/design7/dload.html

Mplayer will play almost any .wmv, .wma, .asx, .rm, .ram, .mov ect. that you run into.

You can also dump the stream to a local file so you can have a local copy of the stream to watch or hear in case you have a problem streaming the file.

Code:
mplayer -dumpstream -dumpfile nameit.wma http://www.site.com/medianame.wma
Read the man page for mplayer after you install it.
Code:
man mplayer
Use the curl utility to see where a file is actually sitting. A link that is a .ram is pointing to a .ra or .rm file somewhere. A .asx is pointing to a .wma, wmv ect. You get the idea.

Code:
curl rtsp://www.site.com/stuff/:stuff filename.ram
You can also use wget to get a copy of a file. Then use mplayer to play it.
 
Old 05-08-2005, 04:17 AM   #8
jelang
LQ Newbie
 
Registered: Aug 2004
Location: Ventura County, CA, USA
Distribution: SuSE Pro 9.3
Posts: 13

Rep: Reputation: 0
On two different threads attacking the issue from two different points of view I see the same response: mplayer.

"You can also dump the stream to a local file so you can have a local copy of the stream to watch or hear in case you have a problem streaming the file."

My only concern that remains is introduced by this quote. I'm talking about using it to listen to a "web radio" site that continuously streams for hours on end.

The .asx file looks something like this:

<asx version = "3.0">
<title>Some identifying text</title>
<entry clientSkip="no">
<ref href = "mms://site.com/file.mp3"/>
<TITLE>Some more identifying text</TITLE>
</entry>
<entry>
<ref href = "mms://same_site.com/different_file_without_mp3"/>
</entry>
</asx>

Are we talking apple and apples or apples and oranges here?
 
Old 05-08-2005, 04:30 AM   #9
jago25_98
Member
 
Registered: Jun 2001
Posts: 302

Rep: Reputation: 30
I'm not even getting that far:

mplayer -playlist http://wmsc.dr.dk/e02ch07m?wmcontentbitrate=40000

File not found: 'e02ch07m?wmcontentbitrate=40000'
Failed to open http://wmsc.dr.dk/e02ch07m?wmcontentbitrate=40000
Error while opening playlist file http://wmsc.dr.dk/e02ch07m?wmcontentbitrate=40000: No such file or directory
 
Old 05-31-2006, 12:25 AM   #10
sidney.harrell
Member
 
Registered: Apr 2006
Location: Stafford, VA
Distribution: Ubuntu 6.06, 7.04, Slackware 11
Posts: 45

Rep: Reputation: 15
I was having the same problem with shoutcast streams, they would just open the mplayer plugin, download the url and stop. I could copy the url with the pulldown menu (right click anywhere on the mplayer-plugin page and select "copy URL") and paste it to a command line window (right click-paste NOT shift-insert) after streamripper, as in:
$ streamripper PASTEDSHOUTCASTURL
which is a program that creates a directory for the feed (in the current directory) and creates individual mp3 files for each track. But I didn't know until I found this thread that the same technique works for xmms to listen to the stream at the same time. As in:
$ xmms PASTEDSHOUTCASTURL
Now if I can find a directory of radio streams that would have a button I could copy the URL directly from, like a XML button for podcasts it would be even better.
Waddle On, dudes!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to apt-get mplayer-plugin (mozilla plugin)? hkl8324 Debian 2 06-29-2005 09:28 AM
open xine with asx files in mozilla? Rhatlinux Linux - Software 0 10-10-2004 11:37 AM
mplayer Mozilla plugin aclarion Fedora 9 09-21-2004 03:40 AM
Asx files do not play in Mplayer vavoem Linux - Software 2 08-18-2004 04:16 AM
Mplayer plugin problem (Mozilla closes automatically) superbshot Linux - Newbie 10 05-31-2004 05:22 PM

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

All times are GMT -5. The time now is 10:19 AM.

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