summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/movie.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-09-07 15:34:01 -0700
committerBharat Mediratta <bharat@menalto.com>2009-09-07 15:34:01 -0700
commit68a78f7cced4f26436d7bdbc6acdd9e0a9ada4df (patch)
tree24be60e7544ebf97f86aa55136d9b0a541eaff46 /modules/gallery/helpers/movie.php
parent14ba8505cccd361a4618c4b26868240a0b2fb226 (diff)
Quiet down ffmpeg in movie::extract_frame()
Diffstat (limited to 'modules/gallery/helpers/movie.php')
-rw-r--r--modules/gallery/helpers/movie.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/movie.php b/modules/gallery/helpers/movie.php
index 4f4169d5..ec975cb0 100644
--- a/modules/gallery/helpers/movie.php
+++ b/modules/gallery/helpers/movie.php
@@ -141,7 +141,7 @@ class movie_Core {
$cmd = escapeshellcmd($ffmpeg) . " -i " . escapeshellarg($input_file) .
" -an -ss 00:00:03 -an -r 1 -vframes 1" .
- " -y -f mjpeg " . escapeshellarg($output_file);
+ " -y -f mjpeg " . escapeshellarg($output_file) . " 2>&1";
exec($cmd);
}