summaryrefslogtreecommitdiff
path: root/core/helpers/movie.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers/movie.php')
-rw-r--r--core/helpers/movie.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/helpers/movie.php b/core/helpers/movie.php
index 4cd2e550..5d64aa1f 100644
--- a/core/helpers/movie.php
+++ b/core/helpers/movie.php
@@ -114,7 +114,8 @@ class movie_Core {
}
$cmd = escapeshellcmd($ffmpeg) . " -i " . escapeshellarg($input_file) .
- " -t 0.001 -y -f mjpeg " . escapeshellarg($output_file);
+ " -an -ss 00:00:03 -an -r 1 -vframes 1" .
+ " -y -f mjpeg " . escapeshellarg($output_file);
exec($cmd);
}
}