This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require("fs-extra"); | |
const path = require("path"); | |
const ffmpeg = require("fluent-ffmpeg"); | |
const bpm = 100; // Измените это значение на ваш BPM | |
const beatsPerSegment = 2; // Количество битов на каждый сегмент (1 для каждого бита, 2 для каждого такта и т.д.) | |
const footageFolder = "../footage"; // Путь к папке с футажами | |
const musicFile = "..//music.wav"; // Путь к музыкальному треку | |
// const outputWidth = 1920; // Ширина вывода | |
// const outputHeight = 1080; // Высота вывода |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am mikhin on github. | |
* I am mikhin (https://keybase.io/mikhin) on keybase. | |
* I have a public key ASCtDnUK7JIaFjUXZNiJWKk1hJ-MfEL8YP94FwVIF3zyEgo | |
To claim this, I am signing this object: |