Ffmpeg-php

From DreamHost
(Redirected from Php-ffmpeg)
Jump to: navigation, search
The instructions provided in this article or section are considered advanced.

You are expected to be knowledgeable in the UNIX shell.
Support for these instructions is not available from DreamHost tech support.
Server changes performed by DreamHost may break your modifications. You, as the user, are responsible for troubleshooting and resolving issues with your customizations.

Overview

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:

Usage

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

See also