ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
FFMpegEngine.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\ResourceStorage\Flavour\Engine
;
22
26
class
FFMpegEngine
implements
Engine
27
{
28
use
PHPMemoryLimit
;
29
30
protected
array
$supported
= [
31
'mp4'
,
32
'webm'
,
33
'mov'
,
34
'avi'
,
35
'flv'
,
36
'wmv'
,
37
'mkv'
,
38
'm4v'
,
39
];
40
41
public
function
__construct
()
42
{
43
}
44
45
public
function
supports
(
string
$suffix): bool
46
{
47
if
(!$this->
isRunning
()) {
48
return
false
;
49
}
50
return
in_array(strtolower($suffix), $this->supported,
true
);
51
}
52
53
public
function
isRunning
(): bool
54
{
55
return
defined(
'PATH_TO_FFMPEG'
);
56
}
57
58
}
ILIAS\ResourceStorage\Flavour\Engine\FFMpegEngine\supports
supports(string $suffix)
Definition:
FFMpegEngine.php:45
ILIAS\ResourceStorage\Flavour\Engine\FFMpegEngine\$supported
array $supported
Definition:
FFMpegEngine.php:30
ILIAS\ResourceStorage\Flavour\Engine\FFMpegEngine\isRunning
isRunning()
Definition:
FFMpegEngine.php:53
ILIAS\ResourceStorage\Flavour\Engine
Definition:
DefaultEngines.php:21
ILIAS\ResourceStorage\Flavour\Engine\FFMpegEngine\__construct
__construct()
Definition:
FFMpegEngine.php:41
PHPMemoryLimit
ILIAS\ResourceStorage\Flavour\Engine\Engine
Definition:
Engine.php:26
ILIAS\ResourceStorage\Flavour\Engine\FFMpegEngine
Definition:
FFMpegEngine.php:26
components
ILIAS
ResourceStorage
src
Flavour
Engine
FFMpegEngine.php
Generated on Sat Apr 5 2025 23:03:53 for ILIAS by
1.8.13 (using
Doxyfile
)