PDA

View Full Version : used Java for playing my mp3s ,is it a good idea?


bambinou
01-29-2009, 08:39 AM
Hi Everyone,

I am in the process of building a website(it is already 50% done) where artists can upload their music and sell them to the public, at the moment I am struggling with which method I should use to play the mp3s.
I thought about playing half the files in normal 128Kbit/s using a flash player but bandwidth wise...it is not too good.
I have been on other website and noticed that when the artist upload his music there is an encoding process taking place, each files uploaded at 128 or 256 Kbit/s are lowered to 64Kbit/s, Do you know a good software that would handle many users uploading songs at once and would encode the lot?

Also I would like to know if anyone of you knows how to create a web based radio using my artist songs, I cannot find any good software for Linux.
The most important is the encoding, I haven't got a clue!
I need a very reliable software that can do the job,

-Would you have the server encoding the files?If yes,how hard woul it be for the processor?
-or would you play half of the file mp3 instead?this also means more bandwidth...not too good.

Thank you so much for your help!,


BamBam

hotwheelharry
01-29-2009, 08:59 AM
hey bro, hate to be a downer but you should probly do a lot more research into security of web applications and that sort of thing because when you're dealing with artist's work, you don't want it getting stolen.
If it gets stolen by some hacker punks, then you are liable.
(I mean mass stealing over a period of time by many users... something like Pandora's Jar)

Maybe I underestimate your understanding, sorry if that's the case.

I suggest using java so you can write something that will work like this for optimized security of the mp3s

Encrypt mp3 on server and send to java client...
decrypt from java client and play

this way you could even play the 128kbps version safely.
make sure you use the correct encryption schemes though, because some are very weak and others very strong.

Most places don't do this though because not that many people have the java runtime compared to Flash.

Good luck and I hope you make some $$$ from the site :thumbsup::thumbsup:

Philip M
01-29-2009, 09:09 AM
This is the JavaScript forum. Java and Javascript are entirely different programming languages, in spite of the confusingly similar names.

bambinou
01-29-2009, 04:16 PM
Thanks Hotwheelharry,

I have passed on your message to the team working on my site, They are going to do their own research on which software to use.

Sorry Philip, I was looking for a quick answer and thought I was in the javascript forum.

BamBam

itsallkizza
01-29-2009, 04:58 PM
You are in the Javascript forum. Perhaps a mod can move this to the Java forum.