On Wed, March 21, 2007 3:57 am, Antony Dovgal wrote: > I don't think anybody sane is doing audio encoding and video resizing > in PHP. > PHP is about interface, clients are not going to wait an hour or two > for a page to load.
Errrr. Actually, I have many PHP scripts with fire up exec processes to encode .wav to mp3 hifi and lofi, and then schlep them around from server to server to have redundancy. These are done as background processes. Then in real-time the ID3 is spliced in before a fopen/fread loop of the MP3 audio stream -- The ID3 info is updated by the artists at their convenience, for live audio recorded at our music venue. For a *small* file, on-the-fly conversion to the user's choice of audio format would, in fact, be VERY useful to me without the penalty of firing up 'exec' and the performance on a not-so-busy server would be acceptable. I sometimes get requests for formats other than MP3, but I simply cannot store (and manage and admin) another 55,000+ files just to have a different audio format. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php