ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Static Public Member Functions | |
static | enabled () |
Checks, whether FFmpeg support is enabled (path is set in the setup) More... | |
static | getTargetMimeTypes () |
Get desired target mime types. More... | |
static | getSourceMimeTypes () |
static | supportsImageExtraction (string $a_mime) |
Check if mime type supports image extraction. More... | |
static | exec (string $args) |
Execute ffmpeg. More... | |
static | getLastReturnValues () |
Get last return values. More... | |
static | extractImage (string $a_file, string $a_target_filename, string $a_target_dir="", int $a_sec=1) |
Extract image from video file. More... | |
Static Public Attributes | |
static array | $last_return = array() |
static array | $formats |
Static Private Member Functions | |
static | getCmd () |
Get ffmpeg command. More... | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning FFmpeg wrapper
Definition at line 23 of file class.ilFFmpeg.php.
|
static |
Checks, whether FFmpeg support is enabled (path is set in the setup)
Definition at line 61 of file class.ilFFmpeg.php.
Referenced by ilObjMediaCastGUI\editCastItemObject(), and ilDclMobRecordFieldModel\parseValue().
|
static |
Execute ffmpeg.
Definition at line 121 of file class.ilFFmpeg.php.
References ilShellUtil\execQuoted().
|
static |
Extract image from video file.
string | $a_file | source file (full path included) |
string | $a_target_dir | target directory (no trailing "/") |
string | $a_target_filename | target file name (no path!) |
int | $a_sec |
ilFFmpegException |
Definition at line 144 of file class.ilFFmpeg.php.
References ilShellUtil\escapeShellArg().
Referenced by ilDclMobRecordFieldModel\parseValue(), and ilObjMediaObject\uploadVideoPreviewPic().
|
staticprivate |
Get ffmpeg command.
Definition at line 113 of file class.ilFFmpeg.php.
|
static |
Get last return values.
Definition at line 129 of file class.ilFFmpeg.php.
Referenced by ilObjMediaCastGUI\extractPreviewImageObject(), and ilObjMediaObject\uploadVideoPreviewPic().
|
static |
Definition at line 86 of file class.ilFFmpeg.php.
References Vendor\Package\$f, and $formats.
|
static |
Get desired target mime types.
Definition at line 72 of file class.ilFFmpeg.php.
References Vendor\Package\$f, and $formats.
|
static |
Check if mime type supports image extraction.
Definition at line 100 of file class.ilFFmpeg.php.
Referenced by ilObjMediaCastGUI\editCastItemObject(), and ilDclMobRecordFieldModel\parseValue().
|
static |
Definition at line 34 of file class.ilFFmpeg.php.
|
static |
Definition at line 25 of file class.ilFFmpeg.php.