Skip to content
This repository was archived by the owner on Jul 2, 2021. It is now read-only.

Commit 77e0172

Browse files
authored
fix: Compatibility with QuickTime Player on macOS
1 parent f0b9cd1 commit 77e0172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VideoWriter.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class VideoWriter extends EventEmitter {
3636
.videoCodec('libx264')
3737
.inputFormat('image2pipe')
3838
.inputFPS(this._framesPerSecond)
39-
.outputOptions('-preset ultrafast')
39+
.outputOptions(['-preset ultrafast', '-pix_fmt yuv420p'])
4040
.on('error', e => {
4141
this.emit('ffmpegerror', e.message);
4242

0 commit comments

Comments
 (0)