This file contains 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
let char: String = "abcdefghijklmnopqrstuvwxyz0123456789"; | |
let randomImage = () => { | |
let str: String = ""; | |
for (let i = 0; i < 6; i++) { | |
str += char.charAt(Math.floor(Math.random() * char.length)); | |
} | |
return `https://prnt.sc/${str}`; | |
}; |
This file contains 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
ffmpeg().input("input.mp3").outputOptions("-af bass=g=3").save("output.mp4"); |