A coub downloader and encoder that uses js, node, ffmpeg, ffprobe-client
A coub downloader (CLI) and dynamic encoder that uses JavaScript, Nodejs, Axios, FFmpeg, ffprobe-client.
This was made for Ubuntu/Debian based distributions in mind, but any other distributions should also work if they have the FFmpeg and NodeJS packages available.
git clone https://github.com/v4ltages/Inception.git
cd Inception
node -v
v14.7.0
npm install axios ffprobe-client
Notes:
Currently the program dosen’t have a check if both output and temp directory exists so you will need to make the directories yourself. If you get
no such file or directory: temp
orno such file or directory: output
then make sure both directories exist in the programs directory.
mkdir output temp
To use the program type
node .
Output would look like this
Insert a Coub ID:
The program only takes the ID of the Coub and not the full link.See commit d1eb2f6
This feature will be added in the future.
Insert a Coub ID: 2hg87j
Video duration: 7.480000 and audio duration: 59.872653
Average framerate is: 25
Will loop around 8 times
There is around 187 frames
Will output information about the video duration, audio duration, average framerate and frames. It will use this information to calculate the amount of times the video will be looped.
This project uses the MIT license.
Read the LICENSE.md file to learn more.