Last active
January 14, 2024 11:36
-
-
Save ritiek/4da3196826d54cb737a9ff75f33e43fc to your computer and use it in GitHub Desktop.
Convert a track to nightcore
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
# Increase tempo (x1.06) and frequency (x1.25 assuming input freq. = 44100 Hz) | |
ffmpeg -i input.mp3 -filter:a "atempo=1.06,asetrate=44100*1.25" output.mp3 | |
# Without tempo | |
ffmpeg -i input.mp3 -filter:a "asetrate=44100*1.25" output.mp3 | |
# Create one frame .mp4 from .mp3 + .jpg | |
ffmpeg -i output.mp3 -i anime.jpg output.mp4 | |
# Do above in single command | |
ffmpeg -i input.mp3 -i anime.jpg -filter:a "atempo=1.06,asetrate=44100*1.25" -vn output.mp4 | |
# Without tempo | |
ffmpeg -i input.mp3 -i anime.jpg -filter:a "asetrate=44100*1.25" -vn output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment