mp3-to-video
Create video from mp3 and a single image.
Install
npm i mp3-to-video --save
Prerequisites
You need to install ffmpeg
.
Simple Usage
// ES6 ;const Convert = 'mp3Path' 'extension' 'imagePath';Convert; // ES5var ConvertCommand = ;var Convert = 'mp3Path' 'extension' 'imagePath';Convert;
API
changeMp3
: Change mp3 path.changeOutput
: Change output path.changeExtension
: Change extension output file.changeImage
: Change image path.
npm scripts
npm run build
: It builds a development version of the mp3-to-video (full code).npm run check-coverage
: Check if exist library for code coverage.npm run coverage
: Run test with code coverage (un-tested statements, lines, functions or branches.).npm run lint
: It verify the code according to eslint rules.npm run mocha
: It run the test without code coverage.npm run prepublish
: It builds a development version before to publish in npm repository.npm run test
: Run scriptnpm run coverage
Made with ❤ by
- Sebastian Lorenzo (Javascript developer)
- E-mail: SebastianLorenzo@gmail.com
- StackOverflow: sebastian-lorenzo
License
MIT license. Copyright © 2016.