PHP 클래스 FFmpeg, ffmpeg-php-class

파일 보기 프로젝트 열기: olaferlandsen/ffmpeg-php-class 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$command

공개 메소드들

메소드 설명
__call ( $method, $args )
__construct ( $ffmpeg = null, $input = false )
_unset ( string $key ) : object
aspect ( string $aspect ) : object
audioBitrate ( $ab )
audioChannels ( $ac )
audioCodec ( $acodec = 'copy' )
audioDisable ( )
audioQuality ( $aq )
audioSamplingFrequency ( $ar )
bitrate ( string $b ) : object
call ( $method, $args = [] )
clear ( ) : object
duration ( string $t ) : object
ffmpeg ( $ffmpeg ) : object
fileSizeLimit ( string $fs ) : object
flip ( $flip ) : object
forceFormat ( string $forceFormat ) : object
frameRate ( string $r ) : object
grayScale ( ) : object
hFlip ( ) : object
input ( string $file ) : object
itsoffset ( $itsoffset ) : object Set the input time offset in seconds. [-]hh:mm:ss[.xxx] syntax is also supported. The offset is added to the timestamps of the input files.
logLevel ( string $level = "verbose" ) : object
output ( string $output = null, string $forceFormat = null ) : object
overwrite ( ) : object
pass ( integer $pass ) : object
position ( $ss ) : object When used as an input option (before "input"), seeks in this input file to position. When used as an output option (before an output filename), decodes but discards input until the timestamps reach position. This is slower, but more accurate.
progress ( string $progress ) : object
ready ( string $append = null ) : object
redirectOutput ( string $std ) : object
set ( string $key, string $value = null, boolen $append = false ) : object
size ( string $s ) : object
thumb ( string $size, string $start, string $videoFrames = 1 ) : object ATENTION!: This method is experimental
transpose ( string $transpose ) : object
vFlip ( ) : object
videoCodec ( string $vcodec = 'copy' ) : object
videoDisable ( ) : object
videoFrames ( string $number ) : object

메소드 상세

__call() 공개 메소드

public __call ( $method, $args )

__construct() 공개 메소드

public __construct ( $ffmpeg = null, $input = false )

_unset() 공개 메소드

public _unset ( string $key ) : object
$key string
리턴 object Self

aspect() 공개 메소드

public aspect ( string $aspect ) : object
$aspect string sample aspect ratio @return object @access public
리턴 object

audioBitrate() 공개 메소드

public audioBitrate ( $ab )

audioChannels() 공개 메소드

public audioChannels ( $ac )

audioCodec() 공개 메소드

public audioCodec ( $acodec = 'copy' )

audioDisable() 공개 메소드

public audioDisable ( )

audioQuality() 공개 메소드

public audioQuality ( $aq )

audioSamplingFrequency() 공개 메소드

public audioSamplingFrequency ( $ar )

bitrate() 공개 메소드

public bitrate ( string $b ) : object
$b string set bitrate (in bits/s) @return object @access public @example $ffmpeg->bitrate('3000/1000');
리턴 object

call() 공개 메소드

public call ( $method, $args = [] )

clear() 공개 메소드

public clear ( ) : object
리턴 object @access public

duration() 공개 메소드

public duration ( string $t ) : object
$t string Stop writing the output after its duration reaches duration. duration may be a number in seconds, or in hh:mm:ss[.xxx] form. @return object @access public
리턴 object

ffmpeg() 공개 메소드

public ffmpeg ( $ffmpeg ) : object
리턴 object @param string ffmpeg @access public

fileSizeLimit() 공개 메소드

public fileSizeLimit ( string $fs ) : object
$fs string
리턴 object Self

flip() 공개 메소드

public flip ( $flip ) : object
리턴 object @param $flip v=vertial OR h=horizontal @access public @example $ffmpeg->flip('v');

forceFormat() 공개 메소드

public forceFormat ( string $forceFormat ) : object
$forceFormat string Force format output @return object @access public
리턴 object

frameRate() 공개 메소드

public frameRate ( string $r ) : object
$r string Set frame rate (Hz value, fraction or abbreviation). @return object @access public
리턴 object

grayScale() 공개 메소드

public grayScale ( ) : object
리턴 object Self

hFlip() 공개 메소드

public hFlip ( ) : object
리턴 object @access public

input() 공개 메소드

public input ( string $file ) : object
$file string input file path @return object @access public @version 1.2 Fix by @propertunist
리턴 object

itsoffset() 공개 메소드

@param string $t Specifying a positive offset means that the corresponding streams are delayed by offset seconds.
public itsoffset ( $itsoffset ) : object
리턴 object @access public

logLevel() 공개 메소드

public logLevel ( string $level = "verbose" ) : object
$level string @return object @access public
리턴 object

output() 공개 메소드

public output ( string $output = null, string $forceFormat = null ) : object
$output string Output file path @param string $forceFormat Force format output @return object @access public
$forceFormat string
리턴 object

overwrite() 공개 메소드

public overwrite ( ) : object
리턴 object Self

pass() 공개 메소드

public pass ( integer $pass ) : object
$pass integer
리턴 object Self

position() 공개 메소드

@param string $s position may be either in seconds or in hh:mm:ss[.xxx] form.
public position ( $ss ) : object
리턴 object @access public

progress() 공개 메소드

public progress ( string $progress ) : object
$progress string
리턴 object Self

ready() 공개 메소드

public ready ( string $append = null ) : object
$append string
리턴 object @param string $append @access public

redirectOutput() 공개 메소드

public redirectOutput ( string $std ) : object
$std string @return object @access public
리턴 object

set() 공개 메소드

public set ( string $key, string $value = null, boolen $append = false ) : object
$key string
$value string
$append boolen
리턴 object Self

size() 공개 메소드

public size ( string $s ) : object
$s string Set frame size. @return object @access public
리턴 object

thumb() 공개 메소드

@param string $size
public thumb ( string $size, string $start, string $videoFrames = 1 ) : object
$size string
$start string @param string $videoFrames @return object @access public @version 1.2 Fix by @propertunist
$videoFrames string
리턴 object

transpose() 공개 메소드

public transpose ( string $transpose ) : object
$transpose string http://ffmpeg.org/ffmpeg.html#transpose @return object @access public
리턴 object

vFlip() 공개 메소드

public vFlip ( ) : object
리턴 object @access public

videoCodec() 공개 메소드

public videoCodec ( string $vcodec = 'copy' ) : object
$vcodec string
리턴 object Self

videoDisable() 공개 메소드

public videoDisable ( ) : object
리턴 object Self

videoFrames() 공개 메소드

public videoFrames ( string $number ) : object
$number string @return object @access public
리턴 object

프로퍼티 상세

$command 공개적으로 프로퍼티

public $command