diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-02-22 09:40:46 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-02-22 09:40:46 +0100 |
commit | 2865ccfdc4793fcaaa3654a0c052351c9622437d (patch) | |
tree | d346984555e84c2351439479085767042117818b /lib/private/preview | |
parent | 8a8209796d4577644228121edc2231ae027217c7 (diff) | |
download | nextcloud-server-2865ccfdc4793fcaaa3654a0c052351c9622437d.tar.gz nextcloud-server-2865ccfdc4793fcaaa3654a0c052351c9622437d.zip |
Move `-an` after the input arg because it is an output option
Diffstat (limited to 'lib/private/preview')
-rw-r--r-- | lib/private/preview/movie.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/preview/movie.php b/lib/private/preview/movie.php index ee56f017229..43a8d674fc9 100644 --- a/lib/private/preview/movie.php +++ b/lib/private/preview/movie.php @@ -83,9 +83,9 @@ class Movie extends Provider { $tmpPath = \OC::$server->getTempManager()->getTemporaryFile(); if (self::$avconvBinary) { - $cmd = self::$avconvBinary . ' -an -y -ss ' . escapeshellarg($second) . + $cmd = self::$avconvBinary . ' -y -ss ' . escapeshellarg($second) . ' -i ' . escapeshellarg($absPath) . - ' -f mjpeg -vframes 1 -vsync 1 ' . escapeshellarg($tmpPath) . + ' -an -f mjpeg -vframes 1 -vsync 1 ' . escapeshellarg($tmpPath) . ' > /dev/null 2>&1'; } else { $cmd = self::$ffmpegBinary . ' -y -ss ' . escapeshellarg($second) . |