Skip to content

Commit

Permalink
Update FFmpeg options in server.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptofyre committed Aug 9, 2024
1 parent ad85c34 commit 72974b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ const processStream = async (url, key, jobId) => {
.outputOptions('-vf', 'fps=15,scale=500:-1:flags=lanczos')
.outputOptions('-threads', '24')
.outputOptions('-preset', 'fast')
.outputOptions('-mutiple_requests', '1')
.outputOptions('-buffer_size', '8192k')
.on('start', (commandLine) => {
logger.info(`Job ${jobId}: FFmpeg started with command: ${commandLine}`);
})
Expand Down

0 comments on commit 72974b1

Please sign in to comment.