Skip to content

Commit dab606c

Browse files
Avoid the ffmpeg filters to use more than 1 CPU
1 parent 0036537 commit dab606c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/main/java/com/github/stickerifier/stickerify/media/MediaHelper.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ private static File convertToWebm(File file) throws MediaException, InterruptedE
486486
"-c:v", "libvpx-" + VP9_CODEC,
487487
"-row-mt", "1",
488488
"-threads", "2",
489+
"-filter_threads", "1",
489490
"-g", "120",
490491
"-auto-alt-ref", "0",
491492
"-pix_fmt", "yuv420p",

0 commit comments

Comments
 (0)