All Projects → intrlocutr → nightcoreify

intrlocutr / nightcoreify

Licence: MIT License
Randomly generates nightcore and uploads it to YouTube. A joke that got out of hand.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to nightcoreify

Pyjumpcutterv2
carykh's but with improvements and a GUI!
Stars: ✭ 25 (-53.7%)
Mutual labels:  youtube, ffmpeg
Sonos Web
Web interface for Sonos audio systems
Stars: ✭ 114 (+111.11%)
Mutual labels:  youtube, ffmpeg
Youtube Fetcher
📺 Youtube Podcasting 🎧
Stars: ✭ 31 (-42.59%)
Mutual labels:  youtube, ffmpeg
Youtube Audio Stream
youtube audio stream
Stars: ✭ 276 (+411.11%)
Mutual labels:  youtube, ffmpeg
Downline
Free cross-platform desktop app to download videos and music from YouTube and many other sites
Stars: ✭ 146 (+170.37%)
Mutual labels:  youtube, ffmpeg
Pylivestream
Pure Python FFmpeg-based live video / audio streaming to YouTube, Facebook, Periscope, Twitch, and more
Stars: ✭ 442 (+718.52%)
Mutual labels:  youtube, ffmpeg
Getsong
Download any song mp3 with no dependencies except ffmpeg
Stars: ✭ 102 (+88.89%)
Mutual labels:  youtube, ffmpeg
Aws Lambda Ffmpeg
An S3-triggered Amazon Web Services Lambda function that runs your choice of FFmpeg 🎬 commands on a file 🎥 and uploads the outputs to a bucket.
Stars: ✭ 780 (+1344.44%)
Mutual labels:  aws-lambda, ffmpeg
Vidgear
A High-performance cross-platform Video Processing Python framework powerpacked with unique trailblazing features 🔥
Stars: ✭ 2,048 (+3692.59%)
Mutual labels:  youtube, ffmpeg
Youtube2audio
Desktop application to download YouTube videos as annotated MP3 or MP4 files
Stars: ✭ 128 (+137.04%)
Mutual labels:  youtube, ffmpeg
Fvid
fvid is a project that aims to encode any file as a video using 1-bit color images to survive compression algorithms for data retrieval.
Stars: ✭ 276 (+411.11%)
Mutual labels:  youtube, ffmpeg
Candy
🍭 Cross-platform YouTube-downloader with playlist and channel support as well as build-in audio / video converter.
Stars: ✭ 229 (+324.07%)
Mutual labels:  youtube, ffmpeg
SharpGrabber
Download from YouTube, Vimeo, PornHub, HLS (M3U8 files) with .NET and JavaScript, Library and desktop app for downloading high quality media
Stars: ✭ 138 (+155.56%)
Mutual labels:  youtube, ffmpeg
Alltomp3 App
Download and Convert YouTube, SoundCloud & Spotify in MP3 with full tags (title, artist, genre, cover, lyrics 🔥)
Stars: ✭ 920 (+1603.7%)
Mutual labels:  youtube, ffmpeg
Ffmpeg Aws Lambda Layer
FFmpeg/FFprobe AWS Lambda layer
Stars: ✭ 222 (+311.11%)
Mutual labels:  aws-lambda, ffmpeg
Live Dl
Download live streams from YouTube
Stars: ✭ 82 (+51.85%)
Mutual labels:  youtube, ffmpeg
Ytmdl
A simple app to get songs from YouTube in mp3 format with artist name, album name etc from sources like iTunes, Spotify, LastFM, Deezer, Gaana etc.
Stars: ✭ 2,070 (+3733.33%)
Mutual labels:  youtube, ffmpeg
Alexa Youtube Skill
Allows Alexa to play audio from YouTube videos
Stars: ✭ 200 (+270.37%)
Mutual labels:  youtube, aws-lambda
Savify
Download Spotify songs to mp3 with full metadata and cover art!
Stars: ✭ 227 (+320.37%)
Mutual labels:  youtube, ffmpeg
todo-app
🔥 REST API для приложения списков ToDo
Stars: ✭ 78 (+44.44%)
Mutual labels:  youtube

nightcoreify

A nightcore artist at work.

Nightcore is mind-numbingly simple. It's just a speed-shift of a pre-existing track, with anime artwork and a visualizer slapped on top. The harsh reality is, we are wasting human minds on the creation of such low-effort "music."

I decided to take matters into my own hands and automate the process. This is a Python script that:

  • finds and downloads a random (somewhat, see below) song from YouTube
  • finds and downloads a random anime artwork from Reddit
    • I broke tradition and went with Reddit rather than Pixiv because their API is so much friendlier.
  • renders a new video, using FFmpeg, with sped up audio + image + audio visualizer
  • uploads the finished product to YouTube

I currently have this script running in an AWS Lambda function, scheduled with an EventBridge rule, and uploading here every 6 hours. It's deployed on top of this Lambda layer for FFmpeg.

Clarification on "random" YouTube videos

There's no easy way to find a totally random video on YouTube, much less one belonging to a certain category (music in my case), at least that I can find, so I had to get a little creative. To find a "random" video, the script generates a 4-character string prepended with v= (total of 6 characters), and searches for it in the music category. This typically returns videos whose IDs start with the 4-character string, but sometimes there will also be videos whose titles contain the 4-character string.

Requirements

Side note: if you dig through the commits in this repo, you'll find that this used to be a Node.js script. I originally wrote it in Node to keep my options open in terms of cloud providers, but rewrote it in Python after I was sure I'd stick with Lambda.

License

This software is released under a MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].