|Classes of adrien gibrat||>||Audio Streamer||>||Download .zip .tar.gz||>||Support forum (4)||>||Blog||>||Latest changes|
|PHP 5||Classes using PHP 5 specific features||View top rated classes|
How to convert MP3 file to a different bitrate?
MP3 bitrate converter
flac decoder mostly aurora.js
Decode FLAC audio files using HTML5 and aurora.js
|PHP does not have built-in extensions to manipulate audio. This apparent limitation can be compensated by using external audio manipulation programs that PHP can execute.
Sometimes it is necessary to manipulate large audio files. If PHP retrieves the resulting audio files into memory before serving them to the users, that may exceed the configured PHP memory limits.
That also would impose a delay caused by the time that programs take to finish the audio processing operations.
Another alternative is to generate temporary files to store the result of the requested audio manipulation operations. This would solve the memory problem, but it could take too much disk space and would not solve the delay problem.
This class implements an alternative that takes advantage of pipes between programs that are available under Unix, Linux and other systems, to execute external audio manipulation programs.
This way, the resulting audio files can be streamed directly to the user browser without any delays, and without taking too much server memory or any disk space.
|Applications that use this package|
If you know an application of this package, send a message to the author to add a link here.
| Install with Composer - Download all files: audio_streamer.tar.gz audio_streamer.zip|
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.