How to install ffmpeg PHP extension on my localhost ???( wamp server on windows7)

Discussion in 'PHP' started by shuman202, Dec 16, 2012.

  1. #1
    hello,
    i'm new to ffmpeg extension i want to install it on my localhost to explore how it works to try to use it on my php scripts
    i'm having wampserver 2.2 on windows 7 i've read the instractions some where as stated below:

    1. Download ffmpeg-php-5.3-win32-all
    2. Copy php_ffmpeg.dll from the php5 folder to the C:\wamp\bin\php\php5.2.9-2\ext
    3. Copy the rest of files from to the windows/system32 folder
    4. Add

      [PHP_ffmpeg] extension=php_ffmpeg.dll to php.ini file
    5. Restarted all services (Apache, PHP...)
    i made a small code to test the installation
    exec('ffmpeg -i office.mp4 -r 24 output.avi');
    nothing happened
    In Phpinfo it dosn't show ffmpeg is installed
    i hope someone guide me how ti correctly install it on wamp server
    best regards
     
    shuman202, Dec 16, 2012 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
  3. shuman202

    shuman202 Well-Known Member

    Messages:
    638
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    145
    Digital Goods:
    1
    #3
    thank you your reply helped me
     
    shuman202, Dec 17, 2012 IP