Mp3 Uploader / Player

Reply

Join Date: Oct 2008
Posts: 11
Reputation: RockNRoll is an unknown quantity at this point 
Solved Threads: 0
RockNRoll RockNRoll is offline Offline
Newbie Poster

Mp3 Uploader / Player

 
0
  #1
Feb 17th, 2009
How would i go about making a music uploader / player or were could a get a script that does that? I want the user to be able to listen as well as contribute music to the site..
Last edited by peter_budo; Feb 17th, 2009 at 12:39 pm. Reason: Keep It Orranized - Avoid using an excessive amount of [bbcode] to alter font styles or to draw more attention to your post.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 49
Reputation: uncle_smith is an unknown quantity at this point 
Solved Threads: 7
uncle_smith uncle_smith is offline Offline
Light Poster

Re: Mp3 Uploader / Player

 
0
  #2
Feb 18th, 2009
Originally Posted by RockNRoll View Post
How would i go about making a music uploader / player or were could a get a script that does that? I want the user to be able to listen as well as contribute music to the site..
you can just let users to upload an mp3 file using an html form. You can even allow uploading more than one file at a time.

Then on a server side you need a script that would store the uploaded files in an organized way and add entry of file name and its new location (a path to where it was saved) to database.

The good thing about mp3 files is that they can be streamed from streaming server, so you don't need any extra steps to encode them for streaming.

The last step is to setup a streaming server. There are several open source free streaming servers. I personally worked with 3:
Red5, Darwin (from apple) and Helix from real networks.

all of these support streaming of mp3 files.

The very last step is to embed the HTML code that would start streaming a file. That would depend on which server you choose, every server has some simple instructions on how to embed the HTML code.

I know this probably sounds too complicated.

You can just place a link to mp3 file directly without using any streaming server. That would work too, especially for relatively small mp3 files.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC