fix command
This commit is contained in:
parent
be0175df15
commit
0b5cb058d4
|
|
@ -98,7 +98,7 @@ export class VideoRecorder {
|
||||||
|
|
||||||
const w = options.width;
|
const w = options.width;
|
||||||
const h = options.height;
|
const h = options.height;
|
||||||
const args = `-loglevel error -f image2pipe -avioflags direct -fpsprobesize 0 -probesize 32 -analyzeduration 0 -c:v mjpeg -i - -y -an -r ${fps} -c:v vp8 -qmin 0 -qmax 50 -crf 8 -deadline realtime -speed 8 -b:v 1M -threads 1 -vf pad=${w}:${h}:0:0:gray,crop=${w}:${h}:0:0`.split(' ');
|
const args = `-loglevel error -f image2pipe -avioflags direct -fpsprobesize 0 -probesize 32 -analyzeduration 0 -c:v mjpeg -i pipe:0 -y -an -r ${fps} -c:v vp8 -qmin 0 -qmax 50 -crf 8 -deadline realtime -speed 8 -b:v 1M -threads 1 -vf pad=${w}:${h}:0:0:gray,crop=${w}:${h}:0:0`.split(' ');
|
||||||
args.push(options.outputFile);
|
args.push(options.outputFile);
|
||||||
const progress = this._progress;
|
const progress = this._progress;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue