|  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
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: rkhuff at wcoil dot com
New email:
PHP Version: OS:


 [2005-12-04 21:22 UTC] rkhuff at wcoil dot com
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.

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

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-23 11:22 UTC]
Automatic comment from SVN on behalf of dmitry
Log: Fixed bug #35547 (Segfault accessing static method)
 [2017-09-27 15:36 UTC]
-Status: Open +Status: Feedback -Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: cmb
 [2017-09-27 15:36 UTC]
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
 [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: Sun May 19 03:01:33 2024 UTC