21265

Getting the bit rate of a externally loaded mp3 in the flashplayer

Question:

does anyone know if this is possible?

much appreciated,

Answer1:

Using the native flash sound class, you can read the id3 metadata property of the sound object, however this depends on the software that encoded the mp3 putting the encoding information in the metadata. there's nothing inherent to the mp3 itself that reports this to the sound class, and the metadata is often missing or unreliable.

<a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/media/Sound.html#id3" rel="nofollow">http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/media/Sound.html#id3</a>

alternatively there's this 3rd party utility for reading actual mp3 header information, which is much more accurate.

<a href="http://code.google.com/p/mp3infoutil/" rel="nofollow">http://code.google.com/p/mp3infoutil/</a>

Recommend

  • IS there any application controller for .net mvc like ruby on rails?
  • Word Base/Stem Dictionary
  • Alternative to readfile()
  • AVAudioPlayer doesn't load sound
  • How to display international scripts in QLabels?
  • How should I add a stationary progress bar to a C++ program that produces terminal output (in Linux)
  • Convert from hex-encoded CLOB to BLOB in Oracle
  • How to crop a mp3 in ASP.NET + C#?
  • disablinging autorecover option for powepoint
  • php DOMDocument - manipulating and encoding
  • Is there an easy way to associate an event with a ListViewItem?
  • How to make SASS put relative paths in its output
  • How do you keep a running instance for Google App Engine
  • Classic ASP URL Rewriting
  • How to pass solution folder as parameter in command line arguments (for debug)?
  • using html data-attributes as css-variable (i.e. text-shadow)
  • Synchronize windows folders
  • Jquery Mobile pageLoading() Method how does it work?
  • configure: error: no acceptable C compiler found in $PATH
  • Eclipse CDT error: Unable to compile
  • OOP Javascript - Is “get property” method necessary?
  • Keep this build forever option - Jenkins
  • iOS: Detect app start via notification press
  • Lost migrations and Azure database is now out of sync
  • Is there a javascript serializer for JSON.Net?
  • Adding a button at the bottom of a table view
  • Illegal mix of collations for operation for date/time comparison
  • Encrypt data by using a public key in c# and decrypt data by using a private key in php
  • Is there a amazon webstore API for customers?
  • How would I use PHP exceptions to define a redirect?
  • How to redirect a user to a different server and include HTTP basic authentication credentials?
  • DirectX11 ClearRenderTargetViewback with transparent buffer?
  • SSO with signing and signature validation doesn't work
  • Deserializing XML into class C#
  • Why is the timeout on a windows udp receive socket always 500ms longer than set by SO_RCVTIMEO?
  • Web-crawler for facebook in python
  • Unit Testing MVC Web Application in Visual Studio and Problem with QTAgent
  • How do you join a server to an Active Directory (domain)?
  • costura.fody for a dll that references another dll
  • Converting MP3 duration time