LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   internet radio (https://www.linuxquestions.org/questions/linux-newbie-8/internet-radio-798214/)

sumeet inani 03-27-2010 05:21 AM

internet radio
 
In windows vista I can listen to http://www.planetradiocity.com/internetradio/index.php
In ubuntu 8.04 this live radio does not play. It seems it wants window media player which is not in linux (thank God). But I have mplayer,mozilla-mplayer.
Basically I wanted to download the audio being played.
In some cases (like http://icecast.commedia.org.uk:8000/theeyefm.mp3.Here mplayer plug-in played well in firefox browser.) I used 'wget' & got live mpeg stream.

In windows , there is windows media player firefox plugin for firefox.
(1)Does that mean wmp format stream cannot be played in linux ?
(2)I tried to 'wget' mms://wms.absoluteradio.co.uk/absoluteradio.co.uk/a8_hi?u= but got unsupported scheme.
What do you suggest ?

QueenZ 03-27-2010 05:47 AM

i listen to sky.fm and 977music.com they're pretty good too and don't require any media player :)

repo 03-27-2010 06:06 AM

No problem here, it takes a long time to start though.
slackware 13.0
firefox 3.6.2
plugins
Code:

Windows Media Player Plug-in
mplayerplug-in v0.10
RealPlayer 9
QuickTime Plug-in 7.4.5
DivX Browser Plug-In
Shockwave Flash
Adobe Reader 9.3
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
Java(TM) Plug-in 1.6.0_16
Scalable Vector Graphics
Silverlight Plug-In


sumeet inani 03-27-2010 06:07 AM

In sky.fm songs are played via embedded flash which is disabled from our router.
At 977music.com the other option is windows media player which does not work in linux.

djsmiley2k 03-27-2010 06:16 AM

Code:

Windows Media Player Plug-in
You need this plugin, or something that can handle windows media player streams in firefox. On my gentoo system the mplayer-plugin seemed to handle it ok for me, but there was a flag to enable windows media streams. You may need to research for your distro how to manage this.

QueenZ 03-27-2010 07:21 AM

you can listen with winamp too which does work on linux...

tommcd 03-27-2010 08:36 AM

Quote:

Originally Posted by sumeet inani (Post 3914221)
http://www.planetradiocity.com/internetradio/index.php
In ubuntu 8.04 this live radio does not play.

Where exactly on that page do you click to play the radio? Do you have to login to see it or something?

In Ubuntu you can install the internet radio program streamtuner from the repositories. Streamtuner will let you listen to many internet radio stations. You may need either xmms2 or audacious media players to use with streamtuner.
http://icecast.commedia.org.uk:8000/theeyefm.mp3.Here
I get a "The file you requested could not be found" when clicking on your second link.

repo 03-27-2010 11:02 AM

Quote:

Where exactly on that page do you click to play the radio? Do you have to login to see it or something?
You just need to wait, it starts automatically
However, at my system it takes about 30 sec before the sound start

sumeet inani 03-28-2010 11:42 PM

at 977music.com the wmp option works well now. Reecently I installed RealPlayer11GOLD
to tommcd
I got info about live radio from http://www.live-radio.net/info.shtml.
I ran in terminal
Code:

wget http://icecast.commedia.org.uk:8000/theeyefm.mp3
I get
Code:

-09:12:04--  http://icecast.commedia.org.uk:8000/theeyefm.mp3
          => `theeyefm.mp3'
Resolving icecast.commedia.org.uk... 195.10.228.4
Connecting to icecast.commedia.org.uk|195.10.228.4|:8000... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [audio/mpeg]

    [    <=>                                              ] 70,788,200    16.48K/s

This way I am getting the whole audio stream & I cut songs from it using ffmpeg.

here are my plugins in firefox
Code:

Installed plugins
Find more information about browser plugins at mozilla.org.
Help for installing plugins is available from plugindoc.mozdev.org.
Windows Media Player Plug-in 10 (compatible; Totem)

    File name: libtotem-gmp-plugin.so
    The Totem 2.22.1 plugin handles video and audio streams.

MIME Type        Description        Suffixes        Enabled
application/x-mplayer2        AVI video        avi, wma, wmv        Yes
video/x-ms-asf-plugin        ASF video        asf, wmv        Yes
video/x-msvideo        AVI video        asf, wmv        Yes
video/x-ms-asf        ASF video        asf        Yes
video/x-ms-wmv        Windows Media video        wmv        Yes
video/x-wmv        Windows Media video        wmv        Yes
video/x-ms-wvx        Microsoft ASX playlist        wmv        Yes
video/x-ms-wm        ASF video        wmv        Yes
application/x-ms-wms        Windows Media video        wms        Yes
application/asx        Microsoft ASX playlist        asx        Yes
audio/x-ms-wma        Windows Media audio        wma        Yes
Shockwave Flash

    File name: libflashplayer.so
    Shockwave Flash 10.0 r45

MIME Type        Description        Suffixes        Enabled
application/x-shockwave-flash        Shockwave Flash        swf        Yes
application/futuresplash        FutureSplash Player        spl        Yes
Default Plugin

    File name: libnullplugin.so
    The default plugin handles plugin data for mimetypes and extensions that are not specified and facilitates downloading of new plugins.

MIME Type        Description        Suffixes        Enabled
*        All types        .*        No
Demo Print Plugin for unix/linux

    File name: libunixprintplugin.so
    The demo print plugin for unix.

MIME Type        Description        Suffixes        Enabled
application/x-print-unix-nsplugin        Demo Print Plugin for Unix/Linux        .pnt        Yes
Totem Web Browser Plugin 2.22.1

    File name: libtotem-basic-plugin.so
    The Totem 2.22.1 plugin handles video and audio streams.

MIME Type        Description        Suffixes        Enabled
application/x-ogg        -        ogg        Yes
application/ogg        Ogg multimedia        ogg        Yes
audio/ogg        Ogg Audio        oga        Yes
audio/x-ogg        Ogg Audio        ogg        Yes
video/ogg        Ogg Video        ogv        Yes
video/x-ogg        Ogg Video        ogg        Yes
application/annodex        -        anx        Yes
audio/annodex        -        axa        Yes
video/annodex        -        axv        Yes
video/mpeg        MPEG video        mpg, mpeg, mpe        Yes
audio/wav        WAV audio        wav        Yes
audio/x-wav        WAV audio        wav        Yes
audio/mpeg        MP3 audio        mp3        Yes
application/x-nsv-vp3-mp3        NullSoft video        nsv        Yes
video/flv        Flash video        flv        Yes
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible (compatible; Totem)

    File name: libtotem-complex-plugin.so
    The Totem 2.22.1 plugin handles video and audio streams.

MIME Type        Description        Suffixes        Enabled
audio/x-pn-realaudio-plugin        RealAudio document        rpm        Yes
VLC Multimedia Plugin (compatible Totem 2.22.1)

    File name: libtotem-cone-plugin.so
    The Totem 2.22.1 plugin handles video and audio streams.

MIME Type        Description        Suffixes        Enabled
application/x-vlc-plugin        unknown                Yes
application/vlc        unknown                Yes
video/x-google-vlc-plugin        unknown                Yes
DivX® Web Player

    File name: libtotem-mully-plugin.so
    DivX Web Player version 1.4.0.233

MIME Type        Description        Suffixes        Enabled
video/divx        AVI video        divx        Yes
QuickTime Plug-in 7.2.0

    File name: libtotem-narrowspace-plugin.so
    The Totem 2.22.1 plugin handles video and audio streams.

MIME Type        Description        Suffixes        Enabled
video/quicktime        QuickTime video        mov        Yes
video/mp4        MPEG-4 video        mp4        Yes
image/x-macpaint        MacPaint Bitmap image        pntg        Yes
image/x-quicktime        QuickTime image        pict, pict1, pict2        Yes
video/x-m4v        MPEG-4 video        m4v        Yes
DivX Browser Plug-In

    File name: mplayerplug-in-dvx.so
    mplayerplug-in 3.55

    Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
    JavaScript Enabled and Using GTK2 Widgets

MIME Type        Description        Suffixes        Enabled
video/divx        DivX Media Format        divx        Yes
video/vnd.divx        DivX Media Format        divx        Yes
QuickTime Plug-in 7.4.5

    File name: mplayerplug-in-qt.so
    mplayerplug-in 3.55

    Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
    JavaScript Enabled and Using GTK2 Widgets

MIME Type        Description        Suffixes        Enabled
video/quicktime        Quicktime        mov        Yes
video/x-quicktime        Quicktime        mov        Yes
image/x-quicktime        Quicktime        mov        Yes
video/quicktime        Quicktime        mp4        Yes
video/quicktime        Quicktime - Session Description Protocol        sdp        Yes
application/x-quicktimeplayer        Quicktime        mov        Yes
application/smil        SMIL        smil        Yes
RealPlayer 9

    File name: mplayerplug-in-rm.so
    mplayerplug-in 3.55

    Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
    JavaScript Enabled and Using GTK2 Widgets

MIME Type        Description        Suffixes        Enabled
audio/x-pn-realaudio        RealAudio        ram,rm        Yes
application/vnd.rn-realmedia        RealMedia        rm        Yes
application/vnd.rn-realaudio        RealAudio        ra,ram        Yes
video/vnd.rn-realvideo        RealVideo        rv        Yes
audio/x-realaudio        RealAudio        ra        Yes
audio/x-pn-realaudio-plugin        RealAudio        rpm        Yes
application/smil        SMIL        smil        Yes
Windows Media Player Plug-in

    File name: mplayerplug-in-wmp.so
    mplayerplug-in 3.55

    Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
    JavaScript Enabled and Using GTK2 Widgets

MIME Type        Description        Suffixes        Enabled
application/asx        Media Files        *        Yes
video/x-ms-asf-plugin        Media Files        *        Yes
video/x-msvideo        AVI        avi,*        Yes
video/msvideo        AVI        avi,*        Yes
application/x-mplayer2        Media Files        *        Yes
application/x-ms-wmv        Microsoft WMV video        wmv,*        Yes
video/x-ms-asf        Media Files        asf,asx,*        Yes
video/x-ms-wm        Media Files        wm,*        Yes
video/x-ms-wmv        Microsoft WMV video        wmv,*        Yes
audio/x-ms-wmv        Windows Media        wmv,*        Yes
video/x-ms-wmp        Windows Media        wmp,*        Yes
application/x-ms-wmp        Windows Media        wmp,*        Yes
video/x-ms-wvx        Windows Media        wvx,*        Yes
audio/x-ms-wax        Windows Media        wax,*        Yes
audio/x-ms-wma        Windows Media        wma,*        Yes
application/x-drm-v2        Windows Media        asx,*        Yes
audio/wav        Microsoft wave file        wav,*        Yes
audio/x-wav        Microsoft wave file        wav,*        Yes
mplayerplug-in 3.55

    File name: mplayerplug-in.so
    mplayerplug-in 3.55

    Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
    JavaScript Enabled and Using GTK2 Widgets

MIME Type        Description        Suffixes        Enabled
video/mpeg        MPEG        mpg,mpeg        Yes
audio/mpeg        MPEG        mpg,mpeg        Yes
video/x-mpeg        MPEG        mpg,mpeg        Yes
video/x-mpeg2        MPEG2        mpv2,mp2ve        Yes
audio/mpeg        MPEG        mpg,mpeg        Yes
audio/x-mpeg        MPEG        mpg,mpeg        Yes
audio/mpeg2        MPEG audio        mp2        Yes
audio/x-mpeg2        MPEG audio        mp2        Yes
video/mp4        MPEG 4 Video        mp4        Yes
video/3gpp        MPEG 4 Video        mp4,3gp        Yes
audio/mpeg3        MPEG audio        mp3        Yes
audio/x-mpeg3        MPEG audio        mp3        Yes
audio/x-mpegurl        MPEG url        m3u        Yes
audio/mp3        MPEG audio        mp3        Yes
application/x-ogg        Ogg Vorbis Media        ogg        Yes
audio/ogg        Ogg Vorbis Audio        ogg        Yes
audio/x-ogg        Ogg Vorbis Audio        ogg        Yes
application/ogg        Ogg Vorbis / Ogg Theora        ogg        Yes
audio/flac        FLAC Audio        flac        Yes
audio/x-flac        FLAC Audio        flac        Yes
video/fli        FLI animation        fli,flc        Yes
video/x-fli        FLI animation        fli,flc        Yes
video/x-flv        Flash Video        flv        Yes
video/vnd.vivo        VivoActive        viv,vivo        Yes
application/x-nsv-vp3-mp3        Nullsoft Streaming Video        nsv        Yes
audio/x-mod        Soundtracker        mod        Yes
audio/basic        Basic Audio File        au,snd        Yes
audio/x-basic        Basic Audio File        au,snd        Yes
iTunes Application Detector

    File name: librhythmbox-itms-detection-plugin.so
    This plug-in detects the presence of iTunes when opening iTunes Store URLs in a web page with Firefox.

MIME Type        Description        Suffixes        Enabled
application/itunes-plugin                        Yes

Still when I visit http://www.planetradiocity.com/internetradio/index.php I get a still image at the position where I get windows media player in vista.
Also I can play local .wmv file in my browser in ubuntu.
If any ubuntu user can hear radio at http://www.planetradiocity.com/internetradio/index.php . Please suggest ?
also i have noticed that if I click on image (where wmp appears in vista) for first time in tab I get message with OK button
Code:

an error occured
Could not open location; you might not have permission to open the file.

Clicking again on still image does nothing.

sumeet inani 04-17-2010 12:29 AM

Atleast I found out that I can dump stream (which I could not wget) using mplayer .
Code:

mplayer mms://wms.absoluteradio.co.uk/absoluteradio.co.uk/a8_hi?u= -dumpstream -dumpfile ~/Desktop/something
But I cannot play it simultaneously in same command.Currently I open another console & run
Code:

mplayer /home/lxuser/Desktop/something
My question in previous post about http://www.planetradiocity.com/internetradio/index.php is still unsolved.

sumeet inani 04-20-2010 12:06 AM

Finally
I saw this page http://support.mozilla.com/en-US/kb/...n+with+Firefox which told to install gnome-mplayer,gecko-mediaplayer which I did though test page (http://plugindoc.mozdev.org/testpages/wmp11.html) of plugin worked even before doing this.
Again I went to http://www.planetradiocity.com/internetradio/index.php & as usual got it non-functioning .
This time I right clicked & chose copy Then ran that link i had copied via mplayer
Code:

mplayer mms://216.185.43.237/radiocity%201
VOILA! It worked fine.


All times are GMT -5. The time now is 06:36 PM.