Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

extracting metadata out of a icecast stream with as3

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Listener Clients
View previous topic :: View next topic  
Author Message
dl



Joined: 28 May 2009
Posts: 7

PostPosted: Tue Nov 02, 2010 9:25 pm    Post subject: extracting metadata out of a icecast stream with as3 Reply with quote

Hi,
is it meanwhile possible to extract song metadata
out of a icecast steam with actionscript ?

Until now I poll a server side script to return the data but that is quiet odd, since each listener is polling my server in a predefined intervall.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Nov 02, 2010 9:45 pm    Post subject: Reply with quote

Yes, the polling approach is a really bad idea. The problem here is that you are asking the wrong people about this, you may find someone here who knows about actionscript specifics but it unlikely.

A quick search on google shows

http://www.adobe.com/devnet/flash/quickstart/metadata_cue_points.html

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dl



Joined: 28 May 2009
Posts: 7

PostPosted: Tue Nov 02, 2010 10:23 pm    Post subject: Reply with quote

karlH wrote:
Yes, the polling approach is a really bad idea. The problem here is that you are asking the wrong people about this, you may find someone here who knows about actionscript specifics but it unlikely.

A quick search on google shows

http://www.adobe.com/devnet/flash/quickstart/metadata_cue_points.html

karl.

So u suggest streaming a flv (aac) with icecast and read its metadata ?
Will they be sent with icecast (in contrast to mp3)?

The extraction process in as3 is less hard , even when using mp3, but icecast do not send proper mp3 tags thats why I ask here.

I tried streaming aac with icecast but the quality seems to be less good than mp3. I even played with different quality settings in oddcast.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Nov 03, 2010 12:36 am    Post subject: Reply with quote

I'm not indicating one way or another, because I don't have the detailed knowledge to give a proper assessment of actionscript but all the links I've seen with actionscript are related to flash and FLV. With the FLV handling in the kh tree, the title (if available) is always part of the stream, but with normal mp3/aac streams you have to request the metadata inserts because those inserts break the framing specs.

The other language you could look at is haxe, but again I don't have experience of that to know if it will be suitable.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dl



Joined: 28 May 2009
Posts: 7

PostPosted: Fri Nov 05, 2010 7:22 am    Post subject: Reply with quote

karlH wrote:
but with normal mp3/aac streams you have to request the metadata inserts because those inserts break the framing specs.
And with FLV it keeps valid ?

Anyone else who got experience with AS3 can confirm that it is working, please ?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Nov 05, 2010 2:02 pm    Post subject: Reply with quote

flv frames can either contain audio data or titles whereas straight mp3 is just audio. It's is just a wrapping around the audio stream, which is why it takes a little bit more bandwidth.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bowljoman



Joined: 06 Jan 2011
Posts: 7

PostPosted: Fri Jan 07, 2011 6:43 pm    Post subject: Reply with quote

Hello,

I got ya covered. Very Happy Still pretty early stages.


http://thundersnow.thebitstream.com/
_________________
thebitstream.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Listener Clients All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber