Converting audio formats with PHP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sturnoff Megantic

    Converting audio formats with PHP

    I would like to allow my users to upload a large wav file and have it
    converted to one of the following: a smaller wav file, an MP3, RA or
    WMA.

    My users have access to only large files, and it is not an option to
    ask them to do the converting on their own.

    I've done a little research, but can't seem to find anything on this.
    Can PHP do this. Should I have PHP call an outside program? which one?
    how? My server's OS is XP.

    All suggestions welcome and appreciated.

    SM

  • Alan Little

    #2
    Re: Converting audio formats with PHP

    Carved in mystic runes upon the very living rock, the last words of
    Sturnoff Megantic of comp.lang.php make plain:
    [color=blue]
    > I would like to allow my users to upload a large wav file and have it
    > converted to one of the following: a smaller wav file, an MP3, RA or
    > WMA.
    >
    > I've done a little research, but can't seem to find anything on this.
    > Can PHP do this. Should I have PHP call an outside program? which one?
    > how? My server's OS is XP.[/color]

    Here's one option:

    It's easy to convert to Mp3, wav, wma, flac, ogg and more with this #1 rated audio file converter. Convert a single audio file, a playlist or a large batch of files. Free Download.


    Google for 'command line sound file conversion'

    --
    Alan Little
    Phorm PHP Form Processor

    Comment

    • Daniel Tryba

      #3
      Re: Converting audio formats with PHP

      Sturnoff Megantic <gigantical@gma il.com> wrote:[color=blue]
      > I would like to allow my users to upload a large wav file and have it
      > converted to one of the following: a smaller wav file, an MP3, RA or
      > WMA.[/color]

      There was a recent thread (a couple of weeks ago) that is alsmost
      identical to your question, see the archives.
      [color=blue]
      > My users have access to only large files, and it is not an option to
      > ask them to do the converting on their own.[/color]

      Why not? You could supply them with programs and instructions. If you'd
      supply them with something like http://www.videolan.org/vlc/ and how to
      convert using the wizard. Or even write a simple java applet using JMF
      you would save lots of bandwith, diskspace and cpu time yourself.
      [color=blue]
      > I've done a little research, but can't seem to find anything on this.
      > Can PHP do this. Should I have PHP call an outside program? which one?
      > how? My server's OS is XP.[/color]

      IMHO only by calling external programs.

      Comment

      • Chung Leong

        #4
        Re: Converting audio formats with PHP


        "Daniel Tryba" <spam@tryba.inv alid> wrote in message
        news:4228813d$0 $43090$c5fe704e @news6.xs4all.n l...[color=blue]
        > Sturnoff Megantic <gigantical@gma il.com> wrote:[color=green]
        > > I would like to allow my users to upload a large wav file and have it
        > > converted to one of the following: a smaller wav file, an MP3, RA or
        > > WMA.[/color]
        >
        > There was a recent thread (a couple of weeks ago) that is alsmost
        > identical to your question, see the archives.
        >[color=green]
        > > My users have access to only large files, and it is not an option to
        > > ask them to do the converting on their own.[/color]
        >
        > Why not? You could supply them with programs and instructions. If you'd
        > supply them with something like http://www.videolan.org/vlc/ and how to
        > convert using the wizard. Or even write a simple java applet using JMF
        > you would save lots of bandwith, diskspace and cpu time yourself.
        >[color=green]
        > > I've done a little research, but can't seem to find anything on this.
        > > Can PHP do this. Should I have PHP call an outside program? which one?
        > > how? My server's OS is XP.[/color]
        >
        > IMHO only by calling external programs.[/color]

        Or possibly through an ActiveX/OCX control.


        Comment

        Working...