Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anwarulislam/media-converter-api
A NodeJS API to convert media files. Any popular video/audio format can be converted to any video/audio format through API. And can be downloaded easily
https://github.com/anwarulislam/media-converter-api
encoding ffmpeg nodejs
Last synced: 24 days ago
JSON representation
A NodeJS API to convert media files. Any popular video/audio format can be converted to any video/audio format through API. And can be downloaded easily
- Host: GitHub
- URL: https://github.com/anwarulislam/media-converter-api
- Owner: anwarulislam
- Created: 2022-08-12T13:36:21.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-29T13:10:13.000Z (almost 2 years ago)
- Last Synced: 2024-04-23T13:48:12.125Z (7 months ago)
- Topics: encoding, ffmpeg, nodejs
- Language: JavaScript
- Homepage:
- Size: 298 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NodeJS API to convert Media Files
> Convert your multimedia in nodejs as easy as you like
## Description
By installing this application in your server you can easily convert media files to any format.
This module uses two other main modules that are referred to, at the end of this page. \
Besides, [**ffmpeg**](https://ffmpeg.org/) tools are utilized for having a better performance.### Version 0.0.0
\>> The **conversion** could be applied to these extensions:
- Videos => (`all formats supported by` [ffmpeg](https://ffmpeg.org))
- Audios => (`all formats supported by` [ffmpeg](https://ffmpeg.org))----
### Version 1.x.x
> In Progress ...
----
----
----## Prerequisites
### 1. Install FFmpeg tools on your system
Its size is about 67.5M
You can find the installation solutions at their website here: **[ffmpeg](https://ffmpeg.org/)**
OR
You can do the following commands in preference to the first approach:
- Windows : \
first, you need to install a download package manager for windows (sth like apt for Linux). \
I highly recommend you to download and install `choco` package manager from their website: **[chocolatey](https://chocolatey.org/)** \
after the installation, just open up a **command line** (cmd or PowerShell) as **administrator** and then do the commands below:```bash
choco install ffmpeg
```- Linux (Ubuntu) :
```bash
sudo apt update
sudo apt install ffmpeg
```- Mac :
```bash
brew install ffmpeg --force
brew link ffmpeg
```----
----## References
As I said before, this module uses some other tools:
- [express](https://www.npmjs.com/package/express) module
- [uuid](https://www.npmjs.com/package/uuid) module
- [multer](https://www.npmjs.com/package/multer) module
- [ffmpeg](https://ffmpeg.org/) tools
- [fluent-ffmpeg](https://www.npmjs.com/package/fluent-ffmpeg) module