40 lines
2.5 KiB
Markdown
40 lines
2.5 KiB
Markdown
# [Ffmpeg Demos](https://github.com/muaz-khan/Ffmpeg.js) / [Demos](https://www.webrtc-experiment.com/ffmpeg/)
|
|
|
|
| Demo Name | Demo | Code |
|
|
| ------------- |-------------|-------------|
|
|
| Transcoding WAV into AAC | [Demo](https://www.webrtc-experiment.com/ffmpeg/wav-to-aac.html) | [Source](https://github.com/muaz-khan/Ffmpeg.js/blob/master/wav-to-aac.html) |
|
|
| Transcoding WAV into Ogg | [Demo](https://www.webrtc-experiment.com/ffmpeg/wav-to-ogg.html) | [Source](https://github.com/muaz-khan/Ffmpeg.js/blob/master/wav-to-ogg.html) |
|
|
| Transcoding WebM into mp4 | [Demo](https://www.webrtc-experiment.com/ffmpeg/webm-to-mp4.html) | [Source](https://github.com/muaz-khan/Ffmpeg.js/blob/master/webm-to-mp4.html) |
|
|
| Transcoding WebM into mp4; then merging WAV+mp4 into single mp4 | [Demo](https://www.webrtc-experiment.com/ffmpeg/merging-wav-and-webm-into-mp4.html) | [Source](https://github.com/muaz-khan/Ffmpeg.js/blob/master/merging-wav-and-webm-into-mp4.html) |
|
|
| Recording Audio+Canvas and merging in single mp4 | [Demo](https://www.webrtc-experiment.com/ffmpeg/audio-plus-canvas-recording.html) | [Source](https://github.com/muaz-khan/Ffmpeg.js/blob/master/audio-plus-canvas-recording.html) |
|
|
| Recording Audio+Screen and merging in single mp4 | [Demo](https://www.webrtc-experiment.com/ffmpeg/audio-plus-screen-recording.html) | [Source](https://github.com/muaz-khan/Ffmpeg.js/blob/master/audio-plus-screen-recording.html) |
|
|
| Video Cropping | [Demo](https://www.webrtc-experiment.com/ffmpeg/video-cropping.html) | [Source](https://github.com/muaz-khan/Ffmpeg.js/blob/master/video-cropping.html) |
|
|
|
|
Remember: [`ffmpeg-asm.js`](https://archive.org/download/ffmpeg_asm/ffmpeg_asm.js)'s credit goes to: https://github.com/bgrins/videoconverter.js
|
|
|
|
* [audo-plus-canvas-recording.gif](https://cdn.webrtc-experiment.com/images/audo-plus-canvas-recording.gif)
|
|
|
|
# File Size?
|
|
|
|
**It is suggested to download `ffmpeg-asm` file and try locally!**
|
|
|
|
[`ffmpeg-asm.js`](https://archive.org/download/ffmpeg_asm/ffmpeg_asm.js) file's default size is 18MB; however you can gzip it to make it about 6MB.
|
|
|
|
# LocalHost
|
|
|
|
```sh
|
|
node server.js
|
|
```
|
|
|
|
Now open `http://localhost:9001/`.
|
|
|
|
# Disclaimer
|
|
|
|
There is no warranty, expressed or implied, associated with this product. Use at your own risk.
|
|
|
|
* https://www.webrtc-experiment.com/disclaimer/
|
|
|
|
# License
|
|
|
|
[All these demos](https://github.com/muaz-khan/Ffmpeg.js) are released under [MIT licence](https://www.webrtc-experiment.com/licence/) . Copyright (c) [Muaz Khan](http://www.MuazKhan.com/).
|