title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Using ASP to convert MP3/WMA files..

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • higgsy

    • Dec 2003
    • 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
  • Spoon
    Administrator
    • Apr 2002
    • 44509

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

    Not detect, but convert yes (asp is just like vbs?)
    Spoon
    www.dbpoweramp.com

    Comment

    • roncli

      #3
      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

      Comment

      Working...

      ]]>