Req #35547 [Opn->Fbk]: Audio file compression
Edit report at https://bugs.php.net/bug.php?id=35547&edit=1
ID: 35547
Updated by: cmb@php.net
Reported by: rkhuff at wcoil dot com
Summary: Audio file compression
-Status: Open
+Status: Feedback
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: Win32 and/or *NIX
PHP Version: 5.1.1
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Frankly, I fail to understand what this feature request is about. Is it about
(1) the ability to send available audio data to the browser?
(2) the ability to convert raw audio data to WAV/MP3?
(3) text to speech conversion?
(1) is already available. (2) and (3) would require the RFC process (see
<https://wiki.php.net/rfc/howto>).
Previous Comments:
------------------------------------------------------------------------
[2010-11-23 11:22:47] dmitry@php.net
Automatic comment from SVN on behalf of dmitry
Revision: http://svn.php.net/viewvc/?view=revision&revision=305685
Log: Fixed bug #35547 (Segfault accessing static method)
------------------------------------------------------------------------
[2005-12-04 21:22:27] rkhuff at wcoil dot com
Description:
------------
Title: Audio format handling
Depending on the direction of the PHP core team, this may be a mute request, but I think it deserves
*some* attention as it could open up a new door for PHP dev's.
Expected result:
----------------
I would like to see some functionality for audio files. Just the basic types I would imagine like
.wav / .mp3. There may be a licsensing issue which could be why support has not been added, I
don't know.
I wouldn't see the need for hellua methods either, just a basic class for reading/writing.
Reading:
One should read the audio file into a resource string ( e.g fopen() ) and then be able to stream the
resource to the browser, I would imagine it would be better to do it after the headers have been
sent.
*An added bonus here would be to also allow the method to convert the resource to it's
text-based equivelant for echo'ing, but that may be "reaching to far".
Writing:
Again, just a basic class method that allows the user to pass text/string values to the method and
the method converts/compresses the value into the proper file format.
I don't know what kind of resources the class would consume on the server so I would guess make
a PECL first ( I also made this comment there ) but I thought I would make it here as well ( in the
hopes that if it were to be done, it would be built into PHP ;) ).
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=35547&edit=1
Thread (3 messages)