How do I make a Youtube to MP3 Script?

Discussion in 'PHP' started by farhan91, Jan 25, 2011.

  1. #1
    Hello everyone. I have been interested in coding my own youtube to mp3 script but don't know where to begin. Can anyone please point me into the right direction as do what I will need to do to make such a script. Please and thanks. I am looking to make the script as light weight on the server as possible.

    Thanks

    Regards,
    Farhan Ahmad
     
    farhan91, Jan 25, 2011 IP
  2. organicCyborg

    organicCyborg Peon

    Messages:
    330
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Getting the .flv file from youtube is the first step. A quick google search shows a lot of tutorials for doing this.

    Next, you'll want to save the FLV file on your server and run it through FFMPEG. Make sure you get a VPS or shared hosting that supports this. Again, there's lots of information on the web. This is the part that's taxing on your server.
     
    organicCyborg, Jan 25, 2011 IP
  3. G3n3s!s

    G3n3s!s Active Member

    Messages:
    325
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #3
    I think FFMPEG won't run on normal shared hostings, better to buy virtual host if you think it seriously. Much better solution.
     
    G3n3s!s, Jan 25, 2011 IP
  4. farhan91

    farhan91 Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for your help guys. Im with hostgator so i don't know if the shared hosting the offer will alow me to do something like this.
     
    farhan91, Jan 26, 2011 IP
  5. G3n3s!s

    G3n3s!s Active Member

    Messages:
    325
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #5
    I think no share hostings allows this, it could be potential hole in system
     
    G3n3s!s, Jan 27, 2011 IP
  6. interwho

    interwho Member

    Messages:
    198
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    #6
    The host I use, surmounted.net, allows ffmpeg.
     
    interwho, Jan 27, 2011 IP