polotno-node 2.9.32 → 2.9.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polotno-node",
3
- "version": "2.9.32",
3
+ "version": "2.9.33",
4
4
  "description": "Polotno workflow from NodeJS",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/video-parallel.js CHANGED
@@ -31,6 +31,9 @@ const convertToWebM = (input, output) => {
31
31
  '-b:v 0',
32
32
  '-b:a 128k',
33
33
  '-c:a libopus',
34
+ '-cpu-used 4', // Faster encoding with slight quality loss
35
+ '-deadline realtime', // Fastest encoding mode
36
+ '-threads 0', // Use all available CPU cores
34
37
  ])
35
38
  .output(output)
36
39
  .on('end', () => {