interface ResizableVideo implements Video
The resizable video interface
This interface provides methods for video resizing.
Methods
| string |
getVideoCodec()
Returns the video codec |
from Video |
| integer |
getWidth()
Returns the width setting. |
|
| integer |
getHeight()
Returns the height setting The return of this method should not depend on a media file size |
|
| array |
getComputedDimensions(integer $originalWidth, integer $originalHeight)
Returns the computed dimensions for the resize, after operation. |
|
| string |
getResizeMode()
Get the current resize mode name |
Details
in Video at line 27
public string
getVideoCodec()
Returns the video codec
at line 32
public integer
getWidth()
Returns the width setting.
The return of this method should not depend on a media file size
at line 40
public integer
getHeight()
Returns the height setting The return of this method should not depend on a media file size
at line 50
public array
getComputedDimensions(integer $originalWidth, integer $originalHeight)
Returns the computed dimensions for the resize, after operation.
This method return the actual dimensions that FFmpeg will use.
at line 57
public string
getResizeMode()
Get the current resize mode name