1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how can i convert flv video to mp4 by ffmpeg Linux VPS

Discussion in 'Programming' started by Tuhin1234, Jun 6, 2016.

  1. #1
    How can i Convert all files in a directory using FFMPEG . my vps alredy installed FFMPEG . So how can i do it ....
     
    Tuhin1234, Jun 6, 2016 IP
  2. sma2007

    sma2007 Member

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    46
    #2
    command
     
    sma2007, Jun 7, 2016 IP
  3. Vooler

    Vooler Well-Known Member

    Messages:
    1,144
    Likes Received:
    64
    Best Answers:
    4
    Trophy Points:
    150
    #3
    ffmpeg -i infile.flv -y outfile.mp4

    using from within php
    
    <?php
         print `ffmpeg -i infile.flv -y outfile.mp4`; //prints out stdout
    
    PHP:
    As deattached thread
    
    <?php
        print `ffmpeg -i infile.flv -y outfile.mp4 &`; //note & at end
    
    PHP:

    stay well...
     
    Vooler, Jun 16, 2016 IP