using ffmpeg for converting other video files into flv

Discussion in 'PHP' started by harshil, Nov 4, 2008.

  1. #1
    Hi,

    I am searched & gone through some sites but I am unable to use ffmpeg in my php code for converting video files.


    - I have downloaded ffmpeg zip file where one of the dll file was to be copied in ext folder in php & make entry in php.ini file

    - And other 2 files were to bee copied to system32 folder.

    --- But could not get ffmpeg running.

    - In other tutorial, ffmpeg file should be complied using MSys & MinGw.
    But I am not getting it.

    --- Can anybody file me to use ffmpeg in php [in am using WAMP 1.6]

    Thanks.....
     
    harshil, Nov 4, 2008 IP
  2. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #2
    never made it on windows but if you move to linux notice me I will give you a hand
     
    crivion, Nov 5, 2008 IP
  3. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #3
    I tried this once and got it working. This is how I did it.
    1> Find a ffmpeg.exe file. I am unable to find a direct link to the website, but do a google search and you will find this.
    2> To convert video:
    exec("path/to/ffmpeg full command");

    If / doesn't work, please try \ as path\to\ffmpeg
    It worked for me this way.
    regards :)
     
    JEET, Nov 5, 2008 IP