Old 7th January 2011, 14:55   #81
mohanad
Member
 
Join Date: Jun 2000
Posts: 65
Quote:
Originally Posted by Smelter View Post
put this next to the player

http://thundersnow.thebitstream.com/demo/IcecastNSV.swf

Each provider is loaded at run time if it is not precompiled. {Provider Class name}+".swf" is attempted to be loaded at run time. If it fails, I think it advances in the list.
thanks, that worked but latency is huge, around 70 seconds, also player stopped after 5 minutes, may be flash memory get filled, latency in the aol player is 1 second.

thanks for the great work, I know this is still beta but wanted to share my experience
mohanad is offline   Reply With Quote
Old 7th January 2011, 15:12   #82
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
Quote:
Originally Posted by mohanad View Post
latency in the aol player is 1 second.
on a shoutcast stream? AOL player must do some voodoo majicks

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 7th January 2011, 16:43   #83
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Is this correct...
PHP Code:
root@homeserver:/var/www/bogproghome/htdocs/thundersnow# ls -al
total 1172
drwxr
-sr-x 3 www-data www-data   4096 2011-01-07 03:50 .
drwsrwsrwx 6 www-data www-data   4096 2011-01-07 01:07 ..
-
rw-r--r-- 1 www-data www-data 111983 2011-01-07 03:50 a4evqyd4nn1.swf
-rw-r--r-- 1 www-data www-data 111298 2011-01-07 03:50 a4evqyd4nn.swf
-rw-r--r-- 1 www-data www-data   7268 2011-01-07 03:50 CodecPack.swf
-rw-r--r-- 1 www-data www-data   1452 2011-01-07 03:50 exp.html
-rw-r--r-- 1 www-data www-data  22297 2011-01-07 03:50 hadpvx0lui6.swf
-rw-r--r-- 1 www-data www-data  22017 2011-01-07 03:50 hadpvx0lui.swf
-rw-r--r-- 1 www-data www-data  26123 2011-01-07 03:50 haewux0luj14.swf
-rw-r--r-- 1 www-data www-data  26502 2011-01-07 03:50 haexax0luj.swf
-rw-r--r-- 1 www-data www-data  26732 2011-01-07 03:50 haf16x0luk18.swf
-rw-r--r-- 1 www-data www-data  26410 2011-01-07 03:50 haf16x0luk.swf
-rw-r--r-- 1 www-data www-data    332 2011-01-07 03:50 loader.swf
-rw-r--r-- 1 www-data www-data 404226 2011-01-07 03:50 logo.swf
-rw-r--r-- 1 www-data www-data    534 2011-01-07 03:50 playlist.xml
-rw-r--r-- 1 www-data www-data  37157 2011-01-07 03:50 ptsnow.png
-rw-r--r-- 1 www-data www-data   7767 2011-01-07 03:50 ShoutcastFile.swf
-rw-r--r-- 1 www-data www-data   9383 2011-01-07 03:50 Shoutcast.swf
-rw-r--r-- 1 www-data www-data  25574 2011-01-07 03:50 swfobject.js
-rw-r--r-- 1 www-data www-data 233216 2011-01-07 03:50 TranscoderProto.swf
-rw-r--r-- 1 www-data www-data  43646 2011-01-07 03:50 ViewDeveloper.swf 
...or am I missing files?
thinktink is offline   Reply With Quote
Old 7th January 2011, 17:08   #84
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
Quote:
Originally Posted by mohanad View Post
thanks, that worked but latency is huge, around 70 seconds, also player stopped after 5 minutes, may be flash memory get filled, latency in the aol player is 1 second.

thanks for the great work, I know this is still beta but wanted to share my experience
Its trying to pick up the key frame. Somebody could optimize it. Im not likely going to work too hard on non-socket connection to icecast.
Smelter is offline   Reply With Quote
Old 7th January 2011, 17:15   #85
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
Quote:
Originally Posted by jaromanda View Post
on a shoutcast stream? AOL player must do some voodoo majicks
If you want immediate key frame, use avc video. vp6 does not appear as fast as avc.

Notice the 'snow' video appers as soon as tag parsing begins.
Smelter is offline   Reply With Quote
Old 7th January 2011, 17:18   #86
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
Quote:
Originally Posted by thinktink View Post
I must be doing something wrong. It shows the metadata and one of the bars goes back-and-forth like there's audio but I don't hear anything.

http://bogproghome.hopto.org/thundersnow/exp.html

Also, I'm assuming that since I dun know how to compile SWFs I'm not going to be able to get rid of that [NEXT] button or make the visual display wider to accommodate lengthy metadata? Every time I try to re-size the object in the HTML tags it just disappears.
There is a design company making a skin or two.
Smelter is offline   Reply With Quote
Old 7th January 2011, 17:24   #87
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
The only setup I think I could even pretend to support at this time is the icecast demo in the 'web.zip'. Its the only thing set up for deployment.

Full support is available through the link
Smelter is offline   Reply With Quote
Old 7th January 2011, 18:16   #88
mohanad
Member
 
Join Date: Jun 2000
Posts: 65
Quote:
Originally Posted by Smelter View Post
If you want immediate key frame, use avc video. vp6 does not appear as fast as avc.

Notice the 'snow' video appers as soon as tag parsing begins.

how do you get avc into nsvtools, I tried x264 and same latency, attached is snapshot of nsvtools
Attached Files
File Type: zip MyScreenHunter.zip (3.0 KB, 437 views)
mohanad is offline   Reply With Quote
Old 7th January 2011, 18:53   #89
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
Thats a question for the nsv forum. Google it, and you'll find the dll's and info.

I spent about 15 minutes on IcecastNSV class. I did a copy and paste.

There maybe an issue with tag time, because event MST3000 has a small delay.

Maybe tags should be buffered for a second to insure that no video tags come after audio times. with an earlier time. Maybe that wont fix the issue. I dont know. When ever I think I do know, I find something that makes exception to what I think. Like pink blocks.
Smelter is offline   Reply With Quote
Old 7th January 2011, 19:24   #90
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
Quote:
I tried x264
x264 is avc.
Smelter is offline   Reply With Quote
Old 7th January 2011, 19:52   #91
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
GAH! I give up. Files deleted and service stopped.
thinktink is offline   Reply With Quote
Old 7th January 2011, 20:45   #92
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
ah well. I had it working with your server last week. Ill post updates.

You might gander at the difference of the nsv iceast reader and the regular shoutcast reader. Its like night and day .
Smelter is offline   Reply With Quote
Old 9th January 2011, 02:32   #93
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
alpha 'all in one', needs no supporting swf files.

http://thundersnow.thebitstream.com/allinone.zip

Docs added.

http://thundersnow.thebitstream.com/docs/index.html
Smelter is offline   Reply With Quote
Old 17th January 2011, 16:40   #94
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
First alpha release of JWPlayer provider plugin.

http://thundersnow.thebitstream.com/jwalpha.zip
Smelter is offline   Reply With Quote
Old 31st January 2011, 16:30   #95
hajerprzodowy
Junior Member
 
Join Date: Jan 2011
Posts: 2
Hello.

I testing your solution and its look great!
But I have some problem.

In playlist.xml file i have two positions (stream is 48kbs AACP):

code:

<item>
<provider>Icecast</provider>
<description>Icecast over http stream</description>
<view>BaseAudio</view>
<!-- specify content, AACP or MP3 -->
<content>AACP</content>
<host>http://mysomeserver.com:8000</host>
<uri>/ZIOM</uri>
</item>

<item>
<provider>IcecastSocket</provider>
<description>icecast over socket stream, supports aacp audio and x-flv</description>
<view>BaseAudio</view>
<host>mysomeserver.com</host>
<port>8000</port>
<uri>/ZIOM</uri>
</item>





The first item (icecast over http) works, but second not...
I must have special icecast configuration?
Second problem is that despite upload crosspolicydomain file to http root on my server flash player works only on serwer in this same domain.

Any sugestions?
Thank you in advance.
hajerprzodowy
hajerprzodowy is offline   Reply With Quote
Old 31st January 2011, 16:54   #96
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
You can serve the player from the built in icecast web directory, and use the first method without any policy file.

If you need to serve the swf from another domain, you'll need crossdomain at 80 to allow crossdomain at 8000 to get permission to stream.
Smelter is offline   Reply With Quote
Old 1st February 2011, 10:20   #97
hajerprzodowy
Junior Member
 
Join Date: Jan 2011
Posts: 2
What is mean "serve the player from the built in icecast web directory"?
How I can do that?

Otherwise any idea why second item in my xml don't work?

Thank you in advance.
hajerprzodowy
hajerprzodowy is offline   Reply With Quote
Old 1st February 2011, 16:58   #98
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
To run the second item, you need to install a socket policy server.

The ice cast server has a built in web directory to serve files.

http://your.icecast_server.com:8000/web/player.swf needs no crossdomain at web root
Smelter is offline   Reply With Quote
Old 21st February 2011, 17:15   #99
Normando
Junior Member
 
Join Date: Feb 2011
Posts: 2
Hello Smelter.

Thanks for all the work you was made.

I am new to flash programming, so if you can help me I apreciate.

With the package allinone.zip I can I made an AAC+ web flash player for icecast?

I have a dedicated server to stream through icecast, and I want to add the the website (on the same server) a flash player to listen the AAC+ stream. It is possible. If yes, can you help me with a little example of how to setup the files?

Thank you.

Normando
Normando is offline   Reply With Quote
Old 22nd February 2011, 04:24   #100
Normando
Junior Member
 
Join Date: Feb 2011
Posts: 2
Solved! I was missed policy file.
Normando is offline   Reply With Quote
Old 13th June 2011, 07:27   #101
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
This post is in response to a PM. Feel free to ignore it.
Attached Files
File Type: zip pts.zip (370.8 KB, 986 views)
thinktink is offline   Reply With Quote
Old 14th June 2011, 01:01   #102
novusspero
Junior Member
 
Join Date: Jun 2011
Posts: 2
Thanks again man! you saved my life

Quote:
Originally Posted by thinktink View Post
This post is in response to a PM. Feel free to ignore it.
novusspero is offline   Reply With Quote
Old 15th December 2011, 12:02   #103
nirbhay
Junior Member
 
Join Date: Dec 2011
Posts: 1
I am able to get it work with shoutcast DNAS v1 and thundersnow on aacp stream.

Thank you guys for the good work

nirbhay is offline   Reply With Quote
Old 23rd December 2011, 07:55   #104
leveragec
Junior Member
 
Join Date: Dec 2011
Posts: 14
doesnt work on DNAS v2
leveragec is offline   Reply With Quote
Old 23rd December 2011, 08:52   #105
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Yes, it does. I know it does cause I'm listening to my music through the v2 DNAS on AAC only every night when I go to sleep. I'm using a local webserver to serve the HTML/Flash and a local flash socket policy server.

You're probably missing a policy server for the flash player. I don't remember the linux solutions but I developed a Windows solution a long time ago (if your v2 DNAS is running on Windows.) Look at this thread to find the download if you're running the DNAS on a Windows server.
thinktink is offline   Reply With Quote
Old 30th December 2011, 08:22   #106
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
another happy customer....
Smelter is offline   Reply With Quote
Old 30th December 2011, 20:00   #107
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Quote:
Originally Posted by Smelter View Post
another happy customer....
YOU'RE ALIVE!!!

Haven't seen you around in a while.

Did you ever get around to making a front-end without video container support?
thinktink is offline   Reply With Quote
Old 7th January 2012, 06:48   #108
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
Almost! I got caught up writing rtsp ip camera support for a client. So Thundersnow suffered a refresh over the break. I may throw it up on git.
Smelter is offline   Reply With Quote
Old 9th January 2012, 23:36   #109
DrO
 
Join Date: Sep 2003
Posts: 27,873
Quote:
Originally Posted by thinktink View Post
Yes, it does. I know it does cause I'm listening to my music through the v2 DNAS on AAC only every night when I go to sleep. I'm using a local webserver to serve the HTML/Flash and a local flash socket policy server.
i can confirm the same as well though i'm not using thinktink's socket policy server on my Windows machine as the v2 DNAS is doing it instead

hopefully responding to the <policy-file-request/> on port 843 (if enabled) and also what has been set for portbase (as it seemed to try to automatically) should cover things off (which seemed to be the case when testing against thundersnow and jaromanda's player).

though will still be looking to do the icecast style option of hosting the swf file directly (which is next on tonight's list of things to finish off, heh).

but is definitely nice to able to test flash players which can playback AAC streams

-daz
DrO is offline   Reply With Quote
Old 26th May 2012, 00:16   #110
DJ Matt
Senior Member
 
DJ Matt's Avatar
 
Join Date: May 2002
Location: Topeka, KS
Posts: 433
Just found this thread, we're using a custom Icecast server build that evidently includes the crossdomain already. It came with a built in flash player also, however it stinks, uses a cheat by encapsulating the stream in FLV, which causes a problem if the stream plays for a while, it's also not robust to disconnects.

If there's a disconnect does this one automatically reconnect or do we need to put it in the playlist a bunch of times?

Oh and is there a way to change the skin?

Matt...
Star104 Internet Radio
http://www.star104.net
Oldies104 Celebrating 14 years on the air! (Does anyone remember OldiesRadioNET.com?)
DJ Matt is offline   Reply With Quote
Old 29th July 2012, 16:39   #111
whooshstream
Junior Member
 
Join Date: May 2009
Posts: 9
The Real AAC shoutcast V2 flash player

Hi,

Our RadioBox-HD is a real AAC+ shoutcast V2 flash player no cheat , it does not use any RTMP relay such as Wowza or Red5, the flash player itself decode the AAC+ stream and make it playable to flash,

And more over the un-matched features below
  • Easy DJ on board management, with show title and DJ photo
  • Main dashboard for DJ with current playing song information
  • Easy Banner management with on/off swifth on the dash board
  • Additional alternative channel stream which is good for broadcaster that use High, medium and low bandwidth servers
  • Song Request listing and notification
  • Integrate to Sambroadcaster Online song request
  • Song History
  • Social Network link management for icon on the player
  • Facebook version player (Click here to add the player to your facebok page)
  • Facebook costumized background image
  • Geo locking for different country
  • Live DJ Video camera
  • Administrators account management
  • Station DJ Accounts
  • On-board DJ Chat
  • Player configuration, spectrums effect color, social icons links and logo
  • Player preview and embed code for website integration
  • Video Ads/intro Management
  • Different themes for player
  • API/Code snippets for your website integration
  • Auto detect mobile device (iPhone/iPad) and turn itself to listen link for playing the stream on mobile
  • Listener's log with playing duration, allowed and denied list when using Geo-locking
  • Analog VU meter and realtime audio spectrum with fall-off effect
  • Artist Cover of the current song
  • Can easily listen to other channel by clicking the channel on the player
  • Auto-soft volume when start or stop
  • Mute button
  • Buffer amount display
  • Current time and listening duration display
  • Lots of available themes check here
whooshstream is offline   Reply With Quote
Old 30th July 2012, 00:01   #112
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
no cheat? other than php

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 30th July 2012, 06:06   #113
whooshstream
Junior Member
 
Join Date: May 2009
Posts: 9
Hi jaromanda, yes no cheat what I mean is that other are claiming that they can play AAC directly from shoutcast but in fact they use rtmp behind the scene, PHP is not a part of cheat this is use to fetch album cover from Amazon album and also fetching shoutcast station status as there is no way flash can directly fetch that information without the help of server side scripting, if you are on technical field then you can try use network sniffer to trace how data is flowing to that flash player
whooshstream is offline   Reply With Quote
Old 30th July 2012, 07:00   #114
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
fair enough ... it still needs a Flash Socket Policy Server though, yeah?

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 30th July 2012, 09:29   #115
whooshstream
Junior Member
 
Join Date: May 2009
Posts: 9
flash player

Quote:
Originally Posted by jaromanda View Post
fair enough ... it still needs a Flash Socket Policy Server though, yeah?
Yes thats the only requirement, the crossdomain.xml must be on the source of stream, and for shoutcast V2 there is no problem as it can easily drop it on the folder location of the sc_serv file, the problem is for native shoutcast server, the player must be located on the same hostname, but since our player are for rentals we cannot send the swf file to the stream host server so what we did is provide a loader swf and a php that will be uploaded to the client host server to trick the flash to think that it is located on the same host itself with the source stream, other option is to request the host server to enable policy port 843 but this mostly did work.
whooshstream is offline   Reply With Quote
Old 30th July 2012, 09:44   #116
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
Quote:
Originally Posted by whooshstream View Post
provide a loader swf and a php that will be uploaded to the client host server to trick the flash to think that it is located on the same host itself with the source stream
now I'm going to have to find how to do that for my flash shoutcast player

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 4th August 2012, 09:08   #117
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
Thundersnow still rules all shoutcast player wannabees. :lol
Smelter is offline   Reply With Quote
Old 4th August 2012, 09:11   #118
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
Quote:
Originally Posted by jaromanda View Post
now I'm going to have to find how to do that for my flash shoutcast player
cURL your swf from the source domain to the radio domain and dump it to the client from there.

Its all bogus though... anyway you slice it.
Smelter is offline   Reply With Quote
Old 4th August 2012, 09:16   #119
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
If you are serving icecast, you can serve your swf player out of the built in webdirectory and not even need a crossdomain file PERIOD. Thunder snow would rip the aac even if it was not the special FLV enable KH version.

Until you step up and take away the crown Jaromanda, thunder snow rules.
Smelter is offline   Reply With Quote
Old 4th August 2012, 09:34   #120
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
Quote:
Originally Posted by Smelter View Post
Until you step up and take away the crown Jaromanda, thunder snow rules.
lol ... thunder snow inspired my effort, you proved it could be done, you'll always rule ... I'll just play catch up

Is it just me or are shoutcast users getting dumber?
jaromanda 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