We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dce248 commit 2cd8604Copy full SHA for 2cd8604
src/server/chromium/videoRecorder.ts
@@ -53,7 +53,7 @@ export class VideoRecorder {
53
assert(!this._isRunning());
54
const w = options.width;
55
const h = options.height;
56
- const args = `-loglevel error -f image2pipe -c:v mjpeg -i - -y -an -r ${fps} -c:v vp8 -qmin 0 -qmax 50 -crf 8 -vf pad=${w}:${h}:0:0:gray,crop=${w}:${h}:0:0`.split(' ');
+ const args = `-loglevel error -f image2pipe -c:v mjpeg -i - -y -an -r ${fps} -c:v vp8 -qmin 0 -qmax 50 -crf 8 -b:v 1M -vf pad=${w}:${h}:0:0:gray,crop=${w}:${h}:0:0`.split(' ');
57
args.push(options.outputFile);
58
const progress = this._progress;
59
0 commit comments