|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
26 + 33 = ?
Subscribe to this entry?

 [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 02:01:35 2024 UTC