Release v0.8.2
This commit is contained in:
parent
e227884510
commit
b2ab75cfdc
@ -53,7 +53,7 @@ Use FFmpeg directly in your browser without any backend services!!
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
ffmpeg.js provides simple to use APIs, to transcode a video you only need few lines of code:
|
ffmpeg.wasm provides simple to use APIs, to transcode a video you only need few lines of code:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
@ -85,7 +85,7 @@ $ node --experimental-wasm-threads --experimental-wasm-bulk-memory transcode.js
|
|||||||
Or, using a script tag in the browser (only works in Chrome):
|
Or, using a script tag in the browser (only works in Chrome):
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="https://unpkg.com/@ffmpeg/ffmpeg@0.8.1/dist/ffmpeg.min.js"></script>
|
<script src="https://unpkg.com/@ffmpeg/ffmpeg@0.8.2/dist/ffmpeg.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
const { createFFmpeg } = FFmpeg;
|
const { createFFmpeg } = FFmpeg;
|
||||||
...
|
...
|
||||||
@ -106,7 +106,7 @@ await ffmpeg.run('-i flame.avi -threads 2 flame.mp4');
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
- With React: https://github.com/ffmpegjs/react-app
|
- With React: https://github.com/ffmpegwasm/react-app
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
@ -114,7 +114,7 @@ await ffmpeg.run('-i flame.avi -threads 2 flame.mp4');
|
|||||||
|
|
||||||
## Tutorials
|
## Tutorials
|
||||||
|
|
||||||
Learn how to build ffmpeg.js from stories:
|
Learn how to build ffmpeg.wasm from stories:
|
||||||
|
|
||||||
- [Part.1 Preparation](https://itnext.io/build-ffmpeg-webassembly-version-ffmpeg-js-part-1-preparation-ed12bf4c8fac)
|
- [Part.1 Preparation](https://itnext.io/build-ffmpeg-webassembly-version-ffmpeg-js-part-1-preparation-ed12bf4c8fac)
|
||||||
- [Part.2 Compile with Emscripten](https://itnext.io/build-ffmpeg-webassembly-version-ffmpeg-js-part-2-compile-with-emscripten-4c581e8c9a16)
|
- [Part.2 Compile with Emscripten](https://itnext.io/build-ffmpeg-webassembly-version-ffmpeg-js-part-2-compile-with-emscripten-4c581e8c9a16)
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ffmpeg/ffmpeg",
|
"name": "@ffmpeg/ffmpeg",
|
||||||
"version": "0.8.1",
|
"version": "0.8.2",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ffmpeg/ffmpeg",
|
"name": "@ffmpeg/ffmpeg",
|
||||||
"version": "0.8.1",
|
"version": "0.8.2",
|
||||||
"description": "FFmpeg WebAssembly version",
|
"description": "FFmpeg WebAssembly version",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
@ -24,7 +24,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/ffmpegjs/ffmpeg.js.git"
|
"url": "git+https://github.com/ffmpegwasm/ffmpeg.wasm.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"ffmpeg",
|
"ffmpeg",
|
||||||
@ -34,12 +34,12 @@
|
|||||||
"author": "Jerome Wu <jeromewus@gmail.com>",
|
"author": "Jerome Wu <jeromewus@gmail.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/ffmpegjs/ffmpeg.js/issues"
|
"url": "https://github.com/ffmpegwasm/ffmpeg.wasm/issues"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12.16.1"
|
"node": ">=12.16.1"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/ffmpegjs/ffmpeg.js#readme",
|
"homepage": "https://github.com/ffmpegwasm/ffmpeg.wasm#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ffmpeg/core": "^0.7.1",
|
"@ffmpeg/core": "^0.7.1",
|
||||||
"idb": "^4.0.5",
|
"idb": "^4.0.5",
|
||||||
|
Loading…
Reference in New Issue
Block a user