这是indexloc提供的服务,不要输入任何密码
Skip to content

Create sped up or slowed down music videos with static or animated backgrounds

License

AGPL-3.0, MIT licenses found

Licenses found

AGPL-3.0
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

sankeer28/Spedup-Slowed-MV

Repository files navigation

Spedup/Slowed down Music Video Maker

       _____                __               _____ __                       __   __  ____    __
      / ___/____  ___  ____/ /_  ______     / ___// /___ _      _____  ____/ /  /  |/  / |  / /
      \__ \/ __ \/ _ \/ __  / / / / __ \    \__ \/ / __ \ | /| / / _ \/ __  /  / /|_/ /| | / / 
     ___/ / /_/ /  __/ /_/ / /_/ / /_/ /   ___/ / / /_/ / |/ |/ /  __/ /_/ /  / /  / / | |/ /
    /____/ .___/\___/\__,_/\__,_/ .___/   /____/_/\____/|__/|__/\___/\__,_/  /_/  /_/  |___/
        /_/                    /_/ 

A Python script that automates the creation of nightcore-style/sped-up videos or slowed-down videos by combining a wallpaper with audio extracted from URLs from supported websites like YouTube, YouTube music, and Soundcloud.

This script will work with other sites, full list can be found here.

GUI , No need to install ffmpeg or python requirements, use .exe in builds

examples
Miley_Cyrus_-_Party_In_The_U.S.A._.Official_Video.mp4
Set_Fire_To_The_Rain_-_Adele_.Lyrics._.mp4
Zac_Efron._Zendaya_-_Rewrite_The_Stars_.Lyrics__Lyrics_Video.mp4
Katy_Perry_-_Wide_Awake.mp4
ILLIT_._.Magnetic._Official_MV.mp4
Sleep_Token_-_Granite.mp4

Features

  • Downloads from URLs of supported websites using yt-dlp
  • Extract audio from videos using ffmpeg
  • Fetch background images from multiple sources (1), (2), (3)
  • Combine audio and images to create videos using ffmpeg
  • Each video has the title of the song in the bottom right corner
  • Option to download multiple URLs from a list and apply the same options to all of them
  • Option to download all the video URLs from a Youtube channel to a text file with restriction on max length while also skipping Youtube Shorts
  • Uses GIFs as the background using the tenor v2 api
  • User can input query for gif search.
  • Allow the artist of the image/gif to be credited (gui-ffmpegexe.py only)

How to run

  1. clone repository git clone https://github.com/sankeer28/Spedup-Slowed-MV.git
  2. open folder cd Spedup-Slowed-MV
  3. install dependencies pip install -r requirements.txt and ffmpeg
  4. run python cli.py or python3 cli.py.
  5. Follow the prompts to enter the YouTube video URL, wallpaper choice, and speed preference.
  6. The script will then download the video, extract audio, fetch the wallpaper, and combine them to create the nightcore-style video.
  7. The final video will be saved in the outputs directory.

Dependencies

Do pip install -r requirements.txt If you run into errors try python3 -m pip install yt-dlp

  • Tested and working Python versions: Python 3.10.0, 3.11.8, 3.12.3
    • On linux you can do sudo apt install python3.10 then python3 main.py
  • ffmpeg: Add to system path. for gui-ffmpegexe.py download the ffmpeg.exe and ffprobe.exe and put it in the same folder from builds.
    • Linux (apt): sudo apt install ffmpeg
    • macOS (via homebrew): brew install ffmpeg
    • Windows: tutorials can be found on Google like this:

Older Versions:

  • old.py: does not have bulk url download feature and does not have the feature to download all videos from channel
  • old1.py: does not have the feature to download all videos from channel
  • old2.py: only has gif generation feature
  • old3.py: does not have gif feature built in
  • gui2.py: only gif feature
  • gui.py: no credit artist feature, less stable

This will be much slower compared to running locally if using the free version of Replit

Examples

examples

Anime Slowed

slowed_down_One_Direction_-_Perfect_.Official_Video.mp4

Random Wallpaper Spedup

nightcore_One_Direction_-_Perfect_.Official_Video.mp4

Pexels Query: City

nightcore_HEAVEN_AND_BACK.mp4

Anime Spedup

nightcore_Camila_Cabello_-_Havana_.Lyrics._ft._Young_Thug.mp4
nightcore_Falling.mp4
nightcore_Paradise.mp4

Cat Spedup

nightcore_DJ_Snake_-_Let_Me_Love_You_ft._Justin_Bieber.mp4

About

Create sped up or slowed down music videos with static or animated backgrounds

Topics

Resources

License

AGPL-3.0, MIT licenses found

Licenses found

AGPL-3.0
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published

Languages