Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Aug 2007
    Posts
    14
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Exclamation used Java for playing my mp3s ,is it a good idea?

    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

  • #2
    Regular Coder
    Join Date
    Jun 2008
    Posts
    102
    Thanks
    6
    Thanked 9 Times in 9 Posts
    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

  • Users who have thanked hotwheelharry for this post:

    bambinou (01-29-2009)

  • #3
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,142
    Thanks
    203
    Thanked 2,547 Times in 2,525 Posts
    This is the JavaScript forum. Java and Javascript are entirely different programming languages, in spite of the confusingly similar names.

  • #4
    New Coder
    Join Date
    Aug 2007
    Posts
    14
    Thanks
    2
    Thanked 0 Times in 0 Posts
    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

  • #5
    Senior Coder
    Join Date
    Oct 2008
    Location
    Long Beach
    Posts
    1,196
    Thanks
    36
    Thanked 164 Times in 164 Posts
    You are in the Javascript forum. Perhaps a mod can move this to the Java forum.
    Feel free to e-mail me if I forget to respond ;)
    ohsosexybrit@gmail.com


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •