title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 3 of 3

Thread: Using ASP to convert MP3/WMA files..

  1. #1

    Join Date
    Dec 2003
    Posts
    2

    Using ASP to convert MP3/WMA files..

    Hi,

    Is there any way that i can use asp to detect an mp3's settings such as bitrate, id3 tags etc and then convert the file to a lower bitrate using dbpoweramp.....


    Thanks

    Al

  2. #2
    Administrator
    Join Date
    Apr 2002
    Posts
    43,854

    Re: Using ASP to convert MP3/WMA files..

    Not detect, but convert yes (asp is just like vbs?)

  3. #3
    roncli

    Re: Using ASP to convert MP3/WMA files..

    Try this. This assumes Windows Media Player 7+ is installed on the server.

    <%Set WMP = Server.CreateObject("WMPlayer.OCX")
    Set WMPMedia = WMP.newMedia(Filename)
    For MyCount = 0 to WMPMedia.attributeCount - 1
    Response.write WMPMedia.getAttributeName(MyCount) & " = " & WMPMedia.getItemInfo(WMPMedia.getAttributeName(MyC ount)) & "<BR>"
    Next
    Response.write "Bitrate = " & WMPMedia.getItemInfo("Bitrate") & "<BR>"
    Set WMPPlayer = nothing
    Set WMP = nothing%>

    -roncli

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •