aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/preview/movies.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/preview/movies.php b/lib/preview/movies.php
index 1e517b38182..d2aaf730d67 100644
--- a/lib/preview/movies.php
+++ b/lib/preview/movies.php
@@ -20,7 +20,8 @@ if(!is_null(shell_exec('ffmpeg -version'))){
$abspath = $fileview->toTmpFile($path);
$tmppath = OC_Helper::tmpFile();
- $cmd = 'ffmpeg -y -i ' . escapeshellarg($abspath) . ' -f mjpeg -vframes 1 -ss 1 -s ' . escapeshellarg($maxX) . 'x' . escapeshellarg($maxY) . ' ' . $tmppath;
+ //$cmd = 'ffmpeg -y -i ' . escapeshellarg($abspath) . ' -f mjpeg -vframes 1 -ss 1 -s ' . escapeshellarg($maxX) . 'x' . escapeshellarg($maxY) . ' ' . $tmppath;
+ $cmd = 'ffmpeg -y -i ' . escapeshellarg($abspath) . ' -f mjpeg -vframes 1 -ss 1 ' . $tmppath;
shell_exec($cmd);
unlink($abspath);