Is there Script that can automatally converts video to .FLV

Discussion in 'Programming' started by shahab6, Oct 20, 2011.

  1. #1
    Is there Script that can automatally converts video to .FLV. Basically we upload videos and then converts it to .FLV then to the website.
    I already have the website.
     
    shahab6, Oct 20, 2011 IP
  2. ngcoders

    ngcoders Active Member

    Messages:
    206
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #2
    look into ffmpeg , it can do what you are asking for.
     
    ngcoders, Oct 22, 2011 IP
  3. pr0t0n

    pr0t0n Well-Known Member

    Messages:
    243
    Likes Received:
    10
    Best Answers:
    10
    Trophy Points:
    128
    #3
    1. Your web hosting account must support ffmpeg usage
    2. You need a script which will automatically send command to ffmpeg to convert some specific video to flv file
    3. {optional} if your web hosting company is running an older version of ffmpeg (that doesn't automatically save metadata into flv file) then you will need to use some additional tools to save metadata IF your video is to be displayed in your web pages in some kind of a flash player.

    I hope this points you to the right direction to investigate further.
     
    pr0t0n, Nov 10, 2011 IP
  4. Egrift Inc

    Egrift Inc Active Member Affiliate Manager

    Messages:
    99
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    75
    #4
    Is there any coder thats available to do this?
     
    Egrift Inc, Mar 31, 2013 IP
  5. annaharris

    annaharris Active Member

    Messages:
    119
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    51
    #5
    I am sharing one code with you. It may help you. Put below code in your terminal:
    $>cd /your/path/to/videos
    $>for i in *.mp4; do ffmpeg -i $i -ar 44100 $i.flv; done
     
    annaharris, Apr 17, 2013 IP