Posts Tagged ‘video convertor’

ffmpeg converter – This is to convert video files to flv files like youtube is having.
I have tested this on Windows 2003 server. I have checked it by converting a sample MPG file to flv file and its successful.


Download / Install the following:-

1. PHP version 5.2.6 or above. I have installed PHP 5.3.3
2. Graphics library GD2.
3. Now download ffmpeg.exe file from this URL http://ffmpeg.arrozcru.org/builds/
4. Place the ffmpeg under the path c: as c:/ffmpeg/ffmpeg.exe
Use DOS command to execute conversion
5. C:\ffmpeg\bin>ffmpeg.exe -i DELTA.MPG DELTA1.flv

Note:
DELTA.MPG is a video file stored under C:\ffmpeg\bin
DELTA.flv will be the output file


—————————–
The above steps is for FFmpeg converter if you want to use php_ffmpeg.dll [php related]. Follow the below steps:-

Apache Http server 2.2.1.7 or IIS
Gnu / Win32: GD version 2.0.33-1
Visual C++ 2005 redistributable
PHP 5.2.14

http://www.irtaza.com/home/servermanagement/windows-server/how-to-install-ffmpeg-mencoder-mplayer-and-php-ffmpeg-on-windows-server/

Must read:
http://groups.google.com/group/ffmpeg-php-windows/browse_thread/thread/a9979e9f3de00a8d#

If you are having problem working with php_ffmpeg.dll in a windows 2003 server. Install Visual C++ in the server.
http://www.microsoft.com/DOWNLOADS/en/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-220b62a191ee&displaylang=en

Additional read:
http://www.vidionline.com/php/7-how-to-install-ffmpeg-on-windows
http://www.ironlasso.com/install_ffmpeg-php_windows.html