Dynamic MP3 Streaming

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Dynamic MP3 Streaming

Post by Gen-ik »

To save on server space I've been trying to work out if it's possible to stream MP3 files (the original being 192kbps 44.1 Khz Stereo .. basically CD quality) at different bit-rates using PHP.

Does anyone know if (a) this is possible and (b) there are any examples out there somewhere?

An example might be to have a PHP file which does all of the header() stuff and actually streams the MP3 file... but depending on what info I send the file (stream.php?kbps=32) then it would stream at that rate instead of the original.

I've got a strange feeling this isn't going to be possible :?
User avatar
dull1554
Forum Regular
Posts: 680
Joined: Sat Nov 22, 2003 11:26 am
Location: 42:21:35.359N, 76:02:20.688W

Post by dull1554 »

you have the correct feeling, php does not like doing things like this.
Post Reply