|The instructions provided in this article or section are considered advanced.|
You are expected to be knowledgeable in the UNIX shell.
php-ffmpeg is a library used to convert video and audio files. Here are some details:
- php-ffmpeg is free
- php-ffmpeg installation is similar to installing a perl module
- php-ffmpeg is used for many youtube clones
- unlike other scripts, php-ffmpeg supports all video types
View more information at:
For an overview of FFmpeg, view the man page at the following link.
The following is a very basic example of how to convert an .avi file to an .flv file.
You can run this command on your web server after logging in via SSH:
ffmpeg -i inputfile.avi outputfile.flv