Old 17th July 2004, 01:28   #81
Death Reaper
Major Dude
 
Death Reaper's Avatar
 
Join Date: Jan 2004
Posts: 681
Send a message via AIM to Death Reaper Send a message via Yahoo to Death Reaper
IMO, you should release it so we can at least make our own "skins" for it. I use flash myself, and...well, yea

Regards,

Death Reaper
Death Reaper is offline   Reply With Quote
Old 17th July 2004, 11:17   #82
2 Advanced
Junior Member
 
Join Date: Jul 2004
Posts: 31
Hi, i went onto http://www.pixelplay.org/jeff/test3/ and i tried copying and pasting the code onto macromedia flash and it came out a blank and errors.

Sorry, im a amateur at flash, could anyone help me please.

Thanks
2 Advanced is offline   Reply With Quote
Old 17th July 2004, 14:24   #83
Nebulus
Member
 
Join Date: Jul 2003
Posts: 70
That code that you cut and pasted requires some additional back end code - a php file that basically streams the shoutcast stream to the player as a proxy. Plus, there are some settings you'll have to change, and of course, it's only for MX 2004.
Nebulus is offline   Reply With Quote
Old 17th July 2004, 15:40   #84
2 Advanced
Junior Member
 
Join Date: Jul 2004
Posts: 31
I have Flash MX Pro 2004, the settings i've changed when i copied the paste the code that was provided from the http://www.pixelplay.org/jeff/test3/ I'd like to thank the person for the code.

The things i changed on the code were:

_global.streamsource = "http://www.live365.com/play/170005?&LID=560-usa&SaneID=0-1046466750741&VisitCount=1";
_global.streamDataproxy = "http://proxy.php";

to my own shoutcast server and site. Also i went on:

http://www.were-here.com/forum/tm.as...heck=762897621

and it provided me a PHP File but when i upload them But no success. What did i do wrong?

Thanks for your reply





2 Advanced is offline   Reply With Quote
Old 17th July 2004, 23:14   #85
alex.davies
Junior Member
 
Join Date: Jul 2004
Posts: 4
Hi Everyone,

I am very interested in this for our student radio station. We have had problems so far - Shoutcast seems to support windows media sometimes, and since most of our listeners only have windows media player this is a bit of a problem!

I was wondering if someone could post the PHP and Flash code together, with a clear indication of what exactly needs changing to get to my stream. Although I have done a lot of PHP programming I have never used it as a proxy server like this - and I have no understanding of Flash at all (though I do have it installed - I use Dreamweaver and Fireworks a lot so bought the whole studio MX).

Thank-you so much in advance,

Alex Davies
MD, OSCAR Radio (http://www.oscar-radio.com)
The only radio station in the UK run by students under 17
alex.davies is offline   Reply With Quote
Old 31st July 2004, 14:16   #86
Mr Hash
Junior Member
 
Join Date: Jul 2004
Location: Tokyo
Posts: 2
Hello

Here is a link (http://www.lb-03.com) to a site hosting the first commercial cross-platform embedded application of flash radio i have have seen, although that Jeff code seems to work but it's real funky stuff.

Enjoy

Hash
www.samurai.fm
Mr Hash is offline   Reply With Quote
Old 10th August 2004, 17:27   #87
mohanad
Member
 
Join Date: Jun 2000
Posts: 65
Quote:
Originally posted by Mr Hash
Hello

Here is a link (http://www.lb-03.com) to a site hosting the first commercial cross-platform embedded application of flash radio i have have seen, although that Jeff code seems to work but it's real funky stuff.

Enjoy

Hash
www.samurai.fm
this stream is not a shoutcast stream, it is an icecast stream and its url is http://stream.samurai.fm:8050/broadcast/lb03.mp3
mohanad is offline   Reply With Quote
Old 11th August 2004, 01:23   #88
Fiasco
Junior Member
 
Join Date: Mar 2003
Posts: 31
http://www.punkradiocast.com

Can someone check that out?
Fiasco is offline   Reply With Quote
Old 11th August 2004, 03:34   #89
Death Reaper
Major Dude
 
Death Reaper's Avatar
 
Join Date: Jan 2004
Posts: 681
Send a message via AIM to Death Reaper Send a message via Yahoo to Death Reaper
Wow...it works for me...did you do that yourself or something? I wouldn't mind the code for that one..

Regards,

Death Reaper
Death Reaper is offline   Reply With Quote
Old 11th August 2004, 12:18   #90
Fiasco
Junior Member
 
Join Date: Mar 2003
Posts: 31
Quote:
Originally posted by Death Reaper
Wow...it works for me...did you do that yourself or something? I wouldn't mind the code for that one..

Regards,
I wish that was mine. The company I'm trying to do this for is actually a direct competitor of PRC
Fiasco is offline   Reply With Quote
Old 11th August 2004, 15:43   #91
Death Reaper
Major Dude
 
Death Reaper's Avatar
 
Join Date: Jan 2004
Posts: 681
Send a message via AIM to Death Reaper Send a message via Yahoo to Death Reaper
Is it possible to get the code for that? Because....that's reall good...

Regards,

Death Reaper
Death Reaper is offline   Reply With Quote
Old 11th August 2004, 16:46   #92
mohanad
Member
 
Join Date: Jun 2000
Posts: 65
Quote:
Originally posted by Fiasco
http://www.punkradiocast.com

Can someone check that out?
this is a supercast stream (http://supercast.sourceforge.net/)and the stream url is

http://69.93.21.204:8000
mohanad is offline   Reply With Quote
Old 11th August 2004, 20:31   #93
Fiasco
Junior Member
 
Join Date: Mar 2003
Posts: 31
Quote:
Originally posted by mohanad
this is a supercast stream (http://supercast.sourceforge.net/)and the stream url is

http://69.93.21.204:8000
Well for some reason I was unable to get it to work with Icecast. Perhaps I should try Supercast.
Fiasco is offline   Reply With Quote
Old 12th August 2004, 00:48   #94
mohanad
Member
 
Join Date: Jun 2000
Posts: 65
Quote:
Originally posted by Fiasco
Well for some reason I was unable to get it to work with Icecast. Perhaps I should try Supercast.
icecast1 works, icecast2 doesn't
mohanad is offline   Reply With Quote
Old 12th August 2004, 20:35   #95
mohanad
Member
 
Join Date: Jun 2000
Posts: 65
here is a flash player which works with shoutcast and any browser except Internet explorer:

http://www.freewebs.com/zamalek/rplayer.html


u can just open it in netscape/opera/... and enter the url of the stream
mohanad is offline   Reply With Quote
Old 12th August 2004, 20:50   #96
Nebulus
Member
 
Join Date: Jul 2003
Posts: 70
So, it' snot useable by 98% of all the net users out there?
Nebulus is offline   Reply With Quote
Old 12th August 2004, 20:59   #97
mohanad
Member
 
Join Date: Jun 2000
Posts: 65
Quote:
Originally posted by Nebulus
So, it' snot useable by 98% of all the net users out there?
u r right, the problem lies in the combination of IE/FLASH/SHOUTCAST, those 3 don't work together, but u can play an icecast1 and supercast streams in IE/FLASH , for example use open the player i mentioned before in IE and type http://69.93.21.204:8000 in the url box
mohanad is offline   Reply With Quote
Old 22nd August 2004, 14:06   #98
chunga668
Registered User
 
Join Date: Feb 2003
Location: Brooklyn, NY
Posts: 7
Send a message via ICQ to chunga668 Send a message via Yahoo to chunga668
Struggling with Flash/Shoutcast/IE

I'm having the same problems as listed above getting flash to stream my shoutcast in IE.
Works fine under certain conditions with Opera and/or Mozilla etc.
Anyone out there get this working?
TIA
chunga668
chunga668 is offline   Reply With Quote
Old 29th September 2004, 06:05   #99
tunefilter
Junior Member
 
Join Date: Dec 2002
Location: San Francisco
Posts: 10
Summary

Since I've come a little late to this discussion, but very much interested, let me see if I can summarize where we are with this -

1. Streaming ShoutCast through Flash, the relatively straight foward "loadSound (URL);" doesn't work if the listener is using IE because of some header conflicts.

2. You can use some PHP script to take care of the header problems, but is seems like a complicated process for the average joe.

3. You can use the relatively straight foward "loadSound (URL);" to stream through Icecast (icecast 1, not 2), Live365, or a Supercast stream

However, in all of the cases above, whether it's streamed from ShoutCast, Icecast1, or Supercast, the Flash Player doesn't release memory and hence you can't listen to the stream for a long time.

Does that summarize it? So, three pages of discussion so far and no good solution. Let me know if I've missed anything.

Thanks!
tunefilter is offline   Reply With Quote
Old 29th September 2004, 06:11   #100
tunefilter
Junior Member
 
Join Date: Dec 2002
Location: San Francisco
Posts: 10
P.S. Flash Communication Server bypasses all of the issues raised above with using Flash and Shoutcast/Icecast/etc and can stream mp3s (and/or video) 'till the cows come home.

My issue is it doesn't have a WinAmp plug in like ShoutCast does. I've already got WinAmp setup as my "broadcast" app. I just need to go directly from WinAmp to Flash Communication Server (then to Flash).

Anyone want to build (capabile of building) this for me? I may have have some $$$.
tunefilter is offline   Reply With Quote
Old 29th September 2004, 10:22   #101
digitalprophet
Junior Member
 
Join Date: Sep 2004
Location: uk
Posts: 22
I've tried doing this myself but then I figured, why bother? If you just want to have a player embeded in your website or pop up you can build one from php and html. The only problem is you probably have to use real player or WMP and you can't change the look of them. You can have them outside the window so they don't show but then the user can't control volume, play and stop etc.

So thinking about it...it might be a good idea to keep trying, but you can check out what I mean with the one I quickly built, just an example of what you could have if you can't get a flash one going.

http://www.underdogzine.co.uk click the link on the top right saying 'Launch radio' or something. It displays current song and auto-refreshes every 3 minutes (although this will change when you're stream changes and does not take into account the delay a listener is receiving)
That player is about 95% editable and if you know java possibly 100%.

I will be trying out this flash streaming thing as then I could replace the WMP part and have it looking how I like

Please excuse me if I'm talking rubbish I'm quite tired and at college so haven't much time!
digitalprophet is offline   Reply With Quote
Old 12th October 2004, 19:23   #102
TheComputerGeek
Junior Member
 
Join Date: Oct 2004
Location: Germantown MD
Posts: 10
Send a message via AIM to TheComputerGeek
this blows!!!!! we need a FREE solution to just stream in flash!!!!
TheComputerGeek is offline   Reply With Quote
Old 12th October 2004, 23:46   #103
Chris55
Junior Member
 
Join Date: Oct 2004
Posts: 1
Flash Player for Live365/Shoutcast



In an effort to build our own Flash Player that is compliant with Shoutcast, I uncovered the source code required to do the job. An outstanding programmer (Jeff) has posted a functional player and the core ActionScript functions to get it working. Although not listed, a PHP script is required to parse the playlist and present it in a Header friendly format. See the Code Bank link when you get to his site for the full threaded discussion. A must checkout!

http://www.pixelplay.org/jeff/test3/

Happy Programming!

Chris
Chris55 is offline   Reply With Quote
Old 25th October 2004, 01:29   #104
hot1039
Junior Member
 
Join Date: Oct 2004
Posts: 1
Check out the source code of this site if you want an example of mp3 stream embedding in flash.
http://www.ckoi.com/radioflash/radioplayer.php
hot1039 is offline   Reply With Quote
Old 29th October 2004, 10:32   #105
lucasuam
Junior Member
 
Join Date: Oct 2004
Location: Veracruz, Mexico
Posts: 4
Send a message via Yahoo to lucasuam
How do I checque the source code??
lucasuam is offline   Reply With Quote
Old 29th October 2004, 10:43   #106
lucasuam
Junior Member
 
Join Date: Oct 2004
Location: Veracruz, Mexico
Posts: 4
Send a message via Yahoo to lucasuam
Sorry... How do I get the source code, I meant :>
lucasuam is offline   Reply With Quote
Old 17th January 2005, 15:20   #107
Fiasco
Junior Member
 
Join Date: Mar 2003
Posts: 31
Any updates to this?
Fiasco is offline   Reply With Quote
Old 20th January 2005, 20:52   #108
DJFLASH
Junior Member
 
Join Date: Jan 2005
Posts: 2
Im looking for an embedded player flash would have been nice, I dont use php, asp, or and advanced coding just plain old html and Im looking for a way to connect my listeners so that they dont have to download a spacific player, an embedded flash player would have been nice, I tried the code from page 1 or 2 of this topic and it plays my stream but in chipmonk mode very fast and squeeling, dont know whats the prob there or how to fix.

I wouldnt have a prob with getting this flash code to play right then put en exe up on a server and just intruct listeners to select open and run. If I could get it to play right any ideas why its playing so fast?

Or is there anyother way to get a globally accepted embeded player through a web browser?
DJFLASH is offline   Reply With Quote
Old 18th March 2005, 11:11   #109
DJ_Genesis
Junior Member
 
Join Date: Jan 2005
Location: Houston TX
Posts: 1
Send a message via AIM to DJ_Genesis Send a message via Yahoo to DJ_Genesis
Has there been any updates on this? I've got the actionscript and php code but I'd like to know first if anyone has actually gotten this to work. I run a daily radio show and it would be great to be able to offer my listeners a way to listen at work as some of their companies don't allow them to install any apps on their computers at work. Thanx!

-DJ Genesis
TXGP Radio Online
DJ_Genesis is offline   Reply With Quote
Old 18th March 2005, 14:31   #110
Nebulus
Member
 
Join Date: Jul 2003
Posts: 70
Sorry, no update. Shoutcast in Flash is sadly not going to happen. Flash can't handle the different file header and has the memory problem dealing with the streaming audio, and Shoutcast probably won't ever have a port because WinAmp is the player of choice.

The php socket code does allow you to bypass the flash security model, but again, the memory problem tends to blow things up.
Nebulus is offline   Reply With Quote
Old 14th May 2005, 16:48   #111
playfm
Junior Member
 
Join Date: Apr 2004
Posts: 5
hi everyone!

I recently built a flash-client for playing an icecast-stream (I'm using a patched version of icecast 2.2.0 [the patch resolves problems between flash's sound-object and missing mp3-headers]).

so far everything is working really nice on all browsers (incl. IE), but I still have teh problem earlier discussed here: the browser/flash is caching all streamed data in memory, so after listening to a stream for 1,2 hours (depending on quality of stream of course), flash consumes several hunderd mbytes, which makes most (windows-)computers unusabel

I coded an interval-based timer into my flash-player, which disconnects the stream every 30min & plays a jingle - but even the fact that I use the flash-command "delete" to free the memory used by the Sound-object, the totally consumed memory doesnt go down

is there any other workaround for this problem?

thx in advance,
mike

(http://www.play.fm)
playfm is offline   Reply With Quote
Old 11th January 2006, 10:56   #112
zeropunto
Junior Member
 
Join Date: Jan 2006
Posts: 2
Hello, i have to do a Shoutcast WebRadio in Flash, that display the information about the song that is straming..

Someone can help me?
zeropunto is offline   Reply With Quote
Old 11th January 2006, 14:42   #113
Nebulus
Member
 
Join Date: Jul 2003
Posts: 70
playfm,
You're right - Flash doesnt' release the sound object from memory. That's been a long standing bug with Flash, and it doesn't seem lik eMacormedia is in any rush to fix it. It might have been fixed in version 8 of the player, but who knows.

zeropunto,
Shoutcast doesn't send normal MP3 headers, so Flash can't stream it dorrectly. A regular header would include file size and other items that Flash looks for, but a stream doesn't have those attributes. Until a standard is developed on headers are or aren't sent or they change how flash can pull MP3s, there's no Flash/Shoutcast integration.

Pretty sad - it seems like everybody wants it too.
Nebulus is offline   Reply With Quote
Old 11th January 2006, 15:23   #114
zeropunto
Junior Member
 
Join Date: Jan 2006
Posts: 2
http://forums.winamp.com/showthread....92#post1018692

In one your post you have put this link, and it in standalone wok, but not on html page... and i don't know what to do for do it working...
zeropunto is offline   Reply With Quote
Old 9th February 2006, 04:22   #115
elektricradio
Junior Member
 
Join Date: Feb 2006
Posts: 1
I give Up.

Hello brains, after weeks of trying, looking, scratching to make Flash and shoutcast work together, I decided to give up, for the following simple reazons:

1. Tryied with PHP/Flash, No success, Memory load issue.

2. IE doesnt support the basic LoadSound script embeded due to header conflicts.

3. ID3 Tags cant be readed from flash on a shoutcast stream, I had to pull them to a php file in order to load them into Flash.

I was too close to get it running, I have the trackname displayed on the player, it refreshes itself after an interval, but in the end, the heart of the script, doesnt work. TOOOO BAAAAD.

MACROMEDIA & SHOUTCAST. If you read this post, please know that hundreds of users (including me) had burned out their brains for this. GIVE US A LITTLE HOPE, or an option.

best regards to all.

Elektric.
elektricradio is offline   Reply With Quote
Old 9th February 2006, 13:07   #116
Nebulus
Member
 
Join Date: Jul 2003
Posts: 70
I'm kind of surprised that the NullSoft community hasn't developed a browser plugin that pulls shotcast. Windows Media plugs right in, yet to listen to shoutcast, you need WinAmp standalone.

Hopefully one of these days, Macromedia will beef up Flash's sound class and be able to handle the header/meta data issue, but until then, it's definately a no go.
Nebulus is offline   Reply With Quote
Old 16th February 2006, 01:55   #117
Teltronik
Junior Member
 
Join Date: Feb 2006
Posts: 1
There is a solution in progress.

Check out:
http://www.discothek-base.de/test.html

Fully flash. Limited to 30 Minutes. You can compare that it is live under: Base iNet Radio
Teltronik is offline   Reply With Quote
Old 16th February 2006, 02:23   #118
Nebulus
Member
 
Join Date: Jul 2003
Posts: 70
That's looking pretty good. Can you give us a glimpse of the php behind the player?
Nebulus is offline   Reply With Quote
Old 1st March 2006, 20:42   #119
tom_taylor
Junior Member
 
tom_taylor's Avatar
 
Join Date: Jul 2003
Location: Warrington, UK
Posts: 38
Send a message via ICQ to tom_taylor Send a message via AIM to tom_taylor Send a message via Yahoo to tom_taylor
right ok cool, so were getting there!!

so icecast can work, just flashs ability to release the memory its used up is proving to be a pain

how about after say 20mins we load another instance of the player into say a main flash doc, try an sync them together when the other instance of the player movie is loaded so there is no interuption to the service!??

that way im sure flash would release the memory used, as its loaded a new object and has done away with the previous one?
tom_taylor is offline   Reply With Quote
Old 1st March 2006, 21:34   #120
Nebulus
Member
 
Join Date: Jul 2003
Posts: 70
That sounds like a mighty complicated method. The problem is that you woulnd't have a way to pass the current sound object to a new swf loaded into the parent player on the page.

So far, i'm enjoying this: www.pandora.com. It's not streaming, but it'd pretty awesome.
Nebulus is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump