Skip to content

Commit

Permalink
doc: fix mimetype in ffmpeg plugin guide
Browse files Browse the repository at this point in the history
  • Loading branch information
thijstriemstra committed May 19, 2020
1 parent 6779536 commit be99b36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/plugins/ffmpeg.js.md
Expand Up @@ -37,9 +37,9 @@ record: {
convertEngine: 'ffmpeg.js',
// convert recorded data to MP3
convertOptions: ['-f', 'mp3', '-codec:a', 'libmp3lame', '-qscale:a', '2'],
// specify MP3 output mime-type
// specify output mime-type
pluginLibraryOptions: {
outputType: 'audio/mp3'
outputType: 'audio/mpeg'
},
// use MP4 encoding worker (H.264 & AAC & MP3 encoders)
convertWorkerURL: '../../node_modules/ffmpeg.js/ffmpeg-worker-mp4.js'
Expand All @@ -56,5 +56,5 @@ Options for this plugin:
| --- | --- | --- |
| `convertEngine` | `ffmpeg.js` | Enables the plugin. |
| `convertOptions` | `['-f', 'mp3', '-codec:a', 'libmp3lame', '-qscale:a', '2']` | Array of arguments for FFmpeg. |
| `pluginLibraryOptions` | `{outputType: 'audio/mp3'}` | Specify output mime-type. |
| `pluginLibraryOptions` | `{outputType: 'audio/mpeg'}` | Specify output mime-type. |
| `convertWorkerURL` | `/path/to/ffmpeg.js/ffmpeg-worker-mp4.js` | Specify encoding worker. |

0 comments on commit be99b36

Please sign in to comment.