473,394 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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

Jul 17 '05 #1
3 1897
Carved in mystic runes upon the very living rock, the last words of
Sturnoff Megantic of comp.lang.php make plain:
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.


Here's one option:

http://www.nch.com.au/switch/

Google for 'command line sound file conversion'

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 17 '05 #2
Sturnoff Megantic <gi********@gmail.com> wrote:
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.
There was a recent thread (a couple of weeks ago) that is alsmost
identical to your question, see the archives.
My users have access to only large files, and it is not an option to
ask them to do the converting on their own.
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.
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.


IMHO only by calling external programs.

Jul 17 '05 #3

"Daniel Tryba" <sp**@tryba.invalid> wrote in message
news:42***********************@news6.xs4all.nl...
Sturnoff Megantic <gi********@gmail.com> wrote:
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.


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


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.
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.


IMHO only by calling external programs.


Or possibly through an ActiveX/OCX control.
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Shelly | last post by:
I had a problem with uploading images in that some files did not have a type of "image/something" from the $_FILES which I used for my verification. Someone (THANK YOU) suggested using...
14
by: gilad | last post by:
Hi, I have just released the initial beta of a C# project called 'aumplib'. aumplib is a C# namespace which is made up of a set of classes that interface several prominent open source audio...
3
by: gilad | last post by:
This is to announce the beta 2 release of Aumplib. After garnering comments from this newsgroup, I have modified the code to use a more standard style convention. Aumplib is a C# namespace which...
2
by: ViperCB | last post by:
Hello from a newbie, I am trying to do some research on an upcoming project that involves reading in audio files of various formats and using the audio signal as a source of noise to generate...
1
by: ray well | last post by:
hi, i'm looking for a .net audio player control, that can play wav, mp3, and some other common formats. i need to plays some audio in my app. i'm not looking for any whole audio studio, just...
3
by: Lucas Tam | last post by:
Hi all, Does anyone has a recommendation on a good audio utility? Something that will play back audio files of various formats and perhaps do transformation too? I found BASS DLL which...
7
by: Udhay | last post by:
How to get the frequency of an audio file and how to separate the low and high frequency of an audio file
3
by: Ryan Liu | last post by:
Hi, I want to play Audio/Video in my C# application(standlalone, not web applicatoin). The source of multimedia may in different formats and decided by the end user, which I have no control. ...
2
by: knightspider00000 | last post by:
Howdy! I've been assigned a project (in the course I'm attending) to create a program that compresses wav files to mp3. I have no background in digital signal processing (or the inner workings of...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.