Skip to content

Commit 7eeb582

Browse files
committed
Update README.md
1 parent 58404e1 commit 7eeb582

File tree

2 files changed

+31
-7
lines changed

2 files changed

+31
-7
lines changed

README.md

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,23 @@
1313
[![Downloads Total](https://img.shields.io/npm/dt/@ffmpeg/ffmpeg.svg)](https://www.npmjs.com/package/@ffmpeg/ffmpeg)
1414
[![Downloads Month](https://img.shields.io/npm/dm/@ffmpeg/ffmpeg.svg)](https://www.npmjs.com/package/@ffmpeg/ffmpeg)
1515

16+
Use FFmpeg directly in your browser without any backend services!!
1617

17-
A FFmpeg WebAssembly version built from scratch, you can learn how to do it from this series of stories: [Build FFmpeg WebAssembly version (=ffmpeg.js)](https://medium.com/@jeromewus/build-ffmpeg-webassembly-version-ffmpeg-js-part-1-preparation-ed12bf4c8fac).
18+
**Transcode Example**
1819

19-
---
20+
<p align="center">
21+
<a href="#">
22+
<img alt="demo" src="https://github.com/ffmpegjs/ffmpeg.js/raw/master/docs/images/demo.gif">
23+
</a>
24+
</p>
2025

21-
## Installation
26+
<a href="https://codepen.io/jeromewu/pen/NWWaMeY">
27+
<img alt="codepen" src="https://blog.codepen.io/wp-content/uploads/2012/06/[email protected]">
28+
</a>
2229

23-
```
24-
$ npm install @ffmpeg/ffmpeg
25-
```
30+
[Source Code](https://github.com/ffmpegjs/ffmpeg.js/blob/master/examples/browser/transcode.html)
2631

27-
## Example
32+
ffmpeg.js provides simple to use APIs, to transcode a video you only need few lines of code:
2833

2934
```javascript
3035
const fs = require('fs');
@@ -38,3 +43,22 @@ const worker = createWorker();
3843
fs.wrieFileSync('./test.mp4', data);
3944
})();
4045
```
46+
---
47+
48+
## Installation
49+
50+
```
51+
$ npm install @ffmpeg/ffmpeg
52+
```
53+
54+
## Documentation
55+
56+
WIP
57+
58+
## Tutorials
59+
60+
Learn how to build ffmpeg.js from stories:
61+
62+
- [Part.1 Preparation](https://itnext.io/build-ffmpeg-webassembly-version-ffmpeg-js-part-1-preparation-ed12bf4c8fac)
63+
- [Part.2 Compile with Emscripten](https://itnext.io/build-ffmpeg-webassembly-version-ffmpeg-js-part-2-compile-with-emscripten-4c581e8c9a16)
64+
- [Part.3 ffmpeg.js v0.1.0 — Transcoding avi to mp4](https://itnext.io/build-ffmpeg-webassembly-version-ffmpeg-js-part-3-ffmpeg-js-v0-1-0-transcoding-avi-to-mp4-f729e503a397)

docs/images/transcode.gif

913 KB
Loading

0 commit comments

Comments
 (0)