The phpffmpeg class is a PHP wrapper around the
ffmpeg program. It can perform video format
conversion, extract video frames into separate
image files, and assemble a video stream from a
set of separate video images. The output video
file format, video and audio bit rate and sample
rate, video dimensions, and aspect ratio can be
set. Information about the media file such as
duration, bit rate, frame rate, format,
dimensions, display aspect ratio, pixel aspect
ratio, audio stereo, audio frequency, and audio
format can be extracted without any other
additional libraries such as ffmpeg-php.
License: BSD License (original)
Changes:
Various fixes in examples. exportFrame has been modified to export specific frames as opposed to the first frame from that timecode. A hook has been added for extending the class after ffmpeg has processed the input. Incorrect information in the data returned from getFileInfo() has been fixed.