943,775 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 707
  • PHP RSS
Feb 17th, 2009
0

Mp3 Uploader / Player

Expand 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..
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
RockNRoll is offline Offline
11 posts
since Oct 2008
Feb 18th, 2009
0

Re: Mp3 Uploader / Player

Click to Expand / Collapse  Quote originally posted by RockNRoll ...
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.
Reputation Points: 18
Solved Threads: 7
Light Poster
uncle_smith is offline Offline
49 posts
since Jan 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: 300kb upload problem
Next Thread in PHP Forum Timeline: View Indexed Field in another table





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC