php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #35547 Audio file compression
Submitted: 2005-12-04 21:22 UTC Modified: 2017-11-05 04:22 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: rkhuff at wcoil dot com Assigned: cmb (profile)
Status: No Feedback Package: *General Issues
PHP Version: 5.1.1 OS: Win32 and/or *NIX
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-12-04 21:22 UTC] 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 ;) ).


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-23 11:22 UTC] 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)
 [2017-09-27 15:36 UTC] cmb@php.net
-Status: Open +Status: Feedback -Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: cmb
 [2017-09-27 15:36 UTC] cmb@php.net
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>).
 [2017-11-05 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 22:01:28 2024 UTC