Skip to content

Commit

Permalink
Change ffmpeg to post process at priority 20
Browse files Browse the repository at this point in the history
  • Loading branch information
rrauenza committed May 25, 2022
1 parent 2fb0cf9 commit 14e5abc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/server/lib/video_capture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,9 @@ export async function process (name, cname, videoCompression, ffmpegchaptersConf
debug('processing video from %s to %s video compression %o',
name, cname, videoCompression)

const command = ffmpeg()
const command = ffmpeg({
priority: 20,
})
.addOptions([
// These flags all serve to reduce initial buffering, especially important
// when dealing with very short videos (such as during component tests).
Expand Down

0 comments on commit 14e5abc

Please sign in to comment.