diff --git a/scripts/zmvideo.pl b/scripts/zmvideo.pl index 1f8aef2f8..c97066ca6 100644 --- a/scripts/zmvideo.pl +++ b/scripts/zmvideo.pl @@ -229,7 +229,7 @@ if ( $overwrite || !-s $video_file ) $video_size = $size; } - my $command = ZM_PATH_FFMPEG." -y -r $frame_rate ".ZM_FFMPEG_INPUT_OPTIONS." -i %0".ZM_EVENT_IMAGE_DIGITS."d-capture.jpg -s $video_size ".ZM_FFMPEG_OUTPUT_OPTIONS." '$video_file' >& ffmpeg.log"; + my $command = ZM_PATH_FFMPEG." -y -r $frame_rate ".ZM_FFMPEG_INPUT_OPTIONS." -i %0".ZM_EVENT_IMAGE_DIGITS."d-capture.jpg -s $video_size ".ZM_FFMPEG_OUTPUT_OPTIONS." '$video_file' > ffmpeg.log 2>&1"; Debug( $command."\n" ); my $output = qx($command);