Spaces:
Running
Running
Commit
·
1c1cec6
1
Parent(s):
78117d2
Increase concurreny
Browse files
server-plugins/frames.js
CHANGED
|
@@ -7,7 +7,7 @@ export class FramesPlugin extends Plugin {
|
|
| 7 |
super(name, options);
|
| 8 |
}
|
| 9 |
async applyPrerender(originalManuscript, jobId) {
|
| 10 |
-
if (this.options.startFrame
|
| 11 |
return
|
| 12 |
}
|
| 13 |
_.set(originalManuscript, 'meta.generationConfig.extras.additionalBuildParams',
|
|
|
|
| 7 |
super(name, options);
|
| 8 |
}
|
| 9 |
async applyPrerender(originalManuscript, jobId) {
|
| 10 |
+
if (this.options.startFrame === undefined || this.options.endFrame === undefined) {
|
| 11 |
return
|
| 12 |
}
|
| 13 |
_.set(originalManuscript, 'meta.generationConfig.extras.additionalBuildParams',
|
server-plugins/split-render.js
CHANGED
|
@@ -13,7 +13,7 @@ export class SplitRenderPlugin extends Plugin {
|
|
| 13 |
_.set(
|
| 14 |
originalManuscript,
|
| 15 |
'meta.generationConfig.extras.buildParams',
|
| 16 |
-
`--codec=prores --prores-profile=4444 --pixel-format=yuva444p10le --transparent --image-format=png --concurrency=2 --hardware-acceleration --enable-multiprocess-on-linux --offthreadvideo-cache-size-in-bytes=8589934592`
|
| 17 |
);
|
| 18 |
originalManuscript.transcript.forEach(element => {
|
| 19 |
element._mediaAbsPaths = _.cloneDeep(element.mediaAbsPaths)
|
|
|
|
| 13 |
_.set(
|
| 14 |
originalManuscript,
|
| 15 |
'meta.generationConfig.extras.buildParams',
|
| 16 |
+
`--codec=prores --prores-profile=4444 --pixel-format=yuva444p10le --transparent --image-format=png --concurrency=2 --hardware-acceleration=if-possible --enable-multiprocess-on-linux --offthreadvideo-cache-size-in-bytes=8589934592`
|
| 17 |
);
|
| 18 |
originalManuscript.transcript.forEach(element => {
|
| 19 |
element._mediaAbsPaths = _.cloneDeep(element.mediaAbsPaths)
|