Saturday, 29 June 2013

Filled Under:

How to install ffmpeg in php

                 ff-mpeg is mostly used to merge a two video or video with audio file loss without video quality.also you can convert video file in any format to any format.

follow simple five steps to enable ff-mpeg in your localhost.

1. Download compiled dells from here:

2. Extract zip file and Copy php_ffmpeg.dll from the php5 folder to the C:\wamp\bin\php\php5.2.9-2\ext
3. Copy files from common to the windows/system32 folder
4. Add extension=php_ffmpeg.dll to php.ini file
5. Restarted all services (Apache, PHP...)


  1. How to create Dynamic category and subcategory menus ?

    See more: PHP
    Product_category table

    category_id ---- category_name
    1 ------------------ CARS
    2 -------------------TRUCKS

    Product_list table

    Product_id ----- category_id (foreign key)----- Product_name
    1 ----------------- 2 -------------------------- Ford trucks
    2 ----------------- 1 ------------------------- - Ferrari sports cars
    3 ----------------- 1 ---------------------------- Honda coupes

    above i have listed my database design... I would assume that a Product_category would contain mulitple subcategories. That means that there is a one-to-many relationship between the Product_category and Product_list tables. In which case, the category ID should be a foreign key in the Product_list table

    ....i have to create subcategory under a category... its like.. if i click CARS then it MUST show subcategories 1 Ferrari sports cars , 1 Honda coupes if i click TRUCKS it must show 2 Ford trucks... can anyone please help me please write down the php code Thank you