Skip to content

Commit

Permalink
README: note about slower webm encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
rprieto committed Jan 7, 2019
1 parent 46acd3d commit e824fc4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,16 @@ You can specify the following options:

##### Format

The default export format is mp4. You can specify an export format by adding a `format` option whose value can be `mp4` or `webm`.
The default export format is `mp4`.
You can specify an export format by adding a `format` option:

```js
opts = { format: 'webm' }
opts = { format: 'mp4' } // H264 encoder
opts = { format: 'webm' } // VP9 encoder
```

Note: encoding as `webm` is much slower.

##### Video quality

The default behaviour is to use CRF (constant rate factor) to control the output quality.
Expand Down

0 comments on commit e824fc4

Please sign in to comment.