diff --git a/lib/classes/video.js b/lib/classes/video.js index 5ec4fb0..5d95d3a 100644 --- a/lib/classes/video.js +++ b/lib/classes/video.js @@ -859,6 +859,9 @@ class Video { if (_self.options.preset) _self.ffmpegCommand.outputOptions('-preset', _self.options.preset); + // JMD fix ffmpeg "Too many packets buffered for output stream" https://stackoverflow.com/questions/49686244/ffmpeg-too-many-packets-buffered-for-output-stream-01 + _self.ffmpegCommand.outputOptions('-max_muxing_queue_size', 9999); + // H265 extra options if (_self.options.extraOptions) _self._addX265Option(_self.options.extraOptions);