Permalink
Browse files

Merge pull request #60 from bartzon/master

Increasing max buffer for ffmpeg processes to 8192
  • Loading branch information...
2 parents aff328e + bb7ed3b commit 63200f178044bc76ff1058a540938ec668f5c613 @tieleman tieleman committed on GitHub Jun 29, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/job.js
View
@@ -329,7 +329,7 @@ var Job = JobUtils.getDatabase().define('Job', {
'-segment_format', 'mpegts', '-segment_list', playlistPath,
'-segment_time', segmentTime, segmentsFormat);
- child_process.execFile(config['encoder'], args, { maxBuffer: 4096*1024 }, function(error, stdout, stderr) {
+ child_process.execFile(config['encoder'], args, { maxBuffer: 8192*1024 }, function(error, stdout, stderr) {
if (error) {
job.lastMessage = 'Error while generating segments: ' + error.message;
callbacks.error(job);

0 comments on commit 63200f1

Please sign in to comment.