phpDocumentor Ffmpeg
Classes
[ class tree: Ffmpeg ] [ index: Ffmpeg ] [ all elements ]

Class: FfmpegToolkitHelper

Source Location: /modules/ffmpeg/classes/FfmpegToolkitHelper.class

Class FfmpegToolkitHelper

Class Overview

A helper class for FfmpegToolkit

Located in /modules/ffmpeg/classes/FfmpegToolkitHelper.class [line 35]



		
		
		
		

Methods

[ Top ]
Method Summary
GalleryStatus   getOperationsAndProperties()   Figure out what operations and properties are supported by the FfmpegToolkit and return them.
array   testBinary()   Test if the given path has a working Ffmpeg binary.

[ Top ]
Methods
getOperationsAndProperties  [line 44]

  GalleryStatus getOperationsAndProperties( )

Figure out what operations and properties are supported by the FfmpegToolkit and return them.


API Tags:
Return:  a status code array('operations' => ..., 'properties' => ...)


[ Top ]
testBinary  [line 182]

  array testBinary( string $ffmpegPath  )

Test if the given path has a working Ffmpeg binary.

This is done by calling the binary with the -formats flag and making sure it runs properly.

Parameters:
string   $ffmpegPath:  path to the Ffmpeg we are testing

API Tags:
Return:  GalleryStatus general status of tests array of array ('name' => string: the name of the binary, 'success' => boolean: test successful? 'results' => string: the ffmpeg output) array hash map of mime types boolean true if ffmpeg supports -ss time_offset array of strings listing mime types that can be encoded array of strings listing available audio codecs for encoding string containing the ffmpeg version


[ Top ]

Documentation generated on Sat, 21 Nov 2009 04:40:56 -0800 by phpDocumentor 1.3.0RC6