Neil Smith [MVP Digital M
Guest
|
Posted:
Fri Oct 15, 2004 10:50 pm Post subject:
Re: Check the bit-rate of an Audio file? |
|
|
I think what you'll have to do is instantiate a media player object on
the server (no idea if this will be multi-threaded or not, though !)
Then load the content file you've just acquired into the player
object, perhaps by saving the content to a temp upload directory and
providing the player object with the URL of the file in the temp
directory on the server.
Once the file is loaded in the media player ActiveX object, you can
query the players' media attributes for example:
player.player.currentMedia.getItemInfoByType('Bitrate','',0)
This will return the bitrate of the currently loaded media item.
Hope that helps -
Cheers, Neil
On Thu, 14 Oct 2004 03:27:36 -0700, "Ethan" <ethan.tseng@gmail.com>
wrote:
| Quote: | Dear all,
How can I check the bit-rate of an Audio file(For example,
a wma file or a mp3 file)?
I want to use ASP page to check an audio file that user
have upload to server.
many thanks
Ethan. |
|
|