Create videos out of random animated gifs from Giphy and random songs from ccmixter.
git clone git@github.com:fedebertolini/giphy-music-mashup.git
cd giphy-music-mashup
npm install
You can run the tests to make sure the installation was successful by executing:
npm run test
The program has three optional input parameters: giphy
, ccmixter
and output
. The first two indicate the term that is going to be used to search animates gifs and songs; output
indicates the final video's path. If no parameters are provided, the program defaults to --giphy=trippy
, --ccmixter=psychedelic
and --output="temp/{timestamp}-music.mp4"
.
node src/index.js --giphy=berlin --ccmixter=opera --output="temp/awesome.mp4"
This project is licensed under the terms of the MIT license.
The song used in this project's tests is “I won't lock it down” by Jonathan Mann, available under a Creative Commons Attribution-Noncommercial license.
The video used in this project's tests belongs to sample-videos.com.