Problem converting videos to .FLV

Discussion in 'PHP' started by st471438, May 17, 2010.

  1. #1
    Hi Everyone,

    I am working on one project where users can upload videos in my clent's website which is real estate related videos and all. Now Problem is I am trying to use following code:

    bin\ffmpeg -i video_test\flame.avi -ar 25 -b 500 -r 25 -ab 56 -f flv -s 320x240 video_test\flame.flv
    The problem is the file is creating but with 0 byte

    Cant understand what is happening :confused:

    Can anyone help in this regards please?
     
    st471438, May 17, 2010 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    is ffmpeg installed properly ??
     
    Bohra, May 17, 2010 IP
  3. st471438

    st471438 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes it is... i am loosing hope - do you know any way we can make this happen?
     
    st471438, May 17, 2010 IP
  4. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #4
    Bohra, May 17, 2010 IP
  5. st471438

    st471438 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    OK Thank You so much. I will try this. Just in case.. do you know any ready script available to buy from anywhere?
     
    st471438, May 17, 2010 IP
  6. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #6
    well something like http://www.phpmotion.com/ ??
     
    Bohra, May 17, 2010 IP
  7. mginger

    mginger Peon

    Messages:
    280
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    can you post the output by ffmpeg?
     
    mginger, May 18, 2010 IP
  8. looking4vps

    looking4vps Peon

    Messages:
    1,495
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #8
    i have seen websites where you can use sites online to do this try using your favorite search engine and searching for it
     
    looking4vps, May 18, 2010 IP
  9. st471438

    st471438 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I saw those websites too but I dont want to use any other website! I want to give the same tool in this website where people can upload their videos in any format and then later visitors can play it.
     
    st471438, May 18, 2010 IP