diff --git a/application/src/File/Thumbnailer/ImageMagick.php b/application/src/File/Thumbnailer/ImageMagick.php index 4ff71a84e1..da0a8a7bfc 100644 --- a/application/src/File/Thumbnailer/ImageMagick.php +++ b/application/src/File/Thumbnailer/ImageMagick.php @@ -47,7 +47,7 @@ public function create($strategy, $constraint, array $options = []) $mediaType = $this->sourceFile->getMediaType(); $origPath = sprintf('%s[%s]', $this->source, $this->getOption('page', 0)); if (strpos($mediaType, 'video/') === 0) { - $origPath = 'mpeg:' . $origPath; + $origPath = 'mp4:' . $origPath; } switch ($strategy) { diff --git a/application/src/File/Thumbnailer/Imagick.php b/application/src/File/Thumbnailer/Imagick.php index 5b404dd3fe..9e3413480e 100644 --- a/application/src/File/Thumbnailer/Imagick.php +++ b/application/src/File/Thumbnailer/Imagick.php @@ -32,7 +32,7 @@ public function create($strategy, $constraint, array $options = []) $mediaType = $this->sourceFile->getMediaType(); $origPath = sprintf('%s[%s]', $this->source, $this->getOption('page', 0)); if (strpos($mediaType, 'video/') === 0) { - $origPath = 'mpeg:' . $origPath; + $origPath = 'mp4:' . $origPath; } try {