FLV to mp3

Discussion in 'PHP' started by promanz, Feb 12, 2008.

  1. #1
    Is any one know how to conver FLV to Mp3 with PHP ? :) appreciate your help
     
    promanz, Feb 12, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    You may want to try FFMPEG and FFMPEG-PHP.

    Jay
     
    jayshah, Feb 12, 2008 IP
  3. projectshifter

    projectshifter Peon

    Messages:
    394
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ffmpeg-php sucks ;) exec() to ffmpeg stuff is a bit easier and you have less to install.
     
    projectshifter, Feb 12, 2008 IP
  4. promanz

    promanz Banned

    Messages:
    559
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanks for all replys but can you post here sample code that can be used to do it
     
    promanz, Feb 13, 2008 IP
  5. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #5
    Unless shell commands are disabled. Gotcha ;)

    For both, you will need to compile and install FFMPEG, so you may want to check if it's installed (SSH Command: which ffmpeg).

    Jay
     
    jayshah, Feb 13, 2008 IP
  6. crazyryan

    crazyryan Well-Known Member

    Messages:
    3,087
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    175
    #6
    There is an extension in perl on cpan called flv2mp3 I believe, althought I personally don't know how to get perl + php working together.
     
    crazyryan, Feb 13, 2008 IP
    promanz and NewTier like this.
  7. promanz

    promanz Banned

    Messages:
    559
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It's I found but waiting for doing some thing with php
     
    promanz, Feb 13, 2008 IP
  8. projectshifter

    projectshifter Peon

    Messages:
    394
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I haven't worked for clients that don't have their own dedicated servers in years ;)
     
    projectshifter, Feb 15, 2008 IP
  9. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #9
    'Course they do. The snag is, they may sell hosting on it. Hence, such commands cannot be disabled per vHost, only in PHP.ini. Most of my clients have cPanel, thus this scenario. :D

    Jay
     
    jayshah, Feb 16, 2008 IP
  10. NewTier

    NewTier Notable Member

    Messages:
    2,201
    Likes Received:
    196
    Best Answers:
    0
    Trophy Points:
    250
    #10
    Isn't FLV a video format?

    If you want there are many open source codes out there that will help you design a script like that. But you would want it to convert to MP4 and not MP3. :) MP4 is what ipods can see so you can reach more visitors that way. :)
     
    NewTier, Feb 16, 2008 IP
    crazyryan likes this.
  11. Shazz

    Shazz Prominent Member

    Messages:
    8,395
    Likes Received:
    453
    Best Answers:
    0
    Trophy Points:
    330
    #11
    Yes it is.
    Interesting to see a video converted to a mp3
     
    Shazz, Feb 16, 2008 IP
  12. crazyryan

    crazyryan Well-Known Member

    Messages:
    3,087
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    175
    #12
    Perhaps the OP just wants the sound file for an flv 2 mp3 site.
     
    crazyryan, Feb 16, 2008 IP
  13. Shazz

    Shazz Prominent Member

    Messages:
    8,395
    Likes Received:
    453
    Best Answers:
    0
    Trophy Points:
    330
    #13
    OP who is now banned forever.
     
    Shazz, Feb 16, 2008 IP
  14. NathanH

    NathanH Peon

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #14
    MEncoder may be able to do this for you. I am quite sure it has the ability to extract sound.
     
    NathanH, Feb 19, 2008 IP