Skip to content
A python script that creates a compilation video with music from gifs from a given subreddit.
Python
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
music cleanup and little fixes Sep 5, 2017
.gitignore init Aug 28, 2017
LICENSE added license Sep 5, 2017
README.md
app.py remove old, unused credentials and indicate where users need to use t… Feb 11, 2019
requirements.txt

README.md

What is this?

A python script that creates a compilation video with music from gifs from a given subreddit. Here is an example video.

What does it need?

Python3 and FFmpeg.

How to use it?

  • clone or download the repo
  • inside the repo make a virtualenv (for 3.6): python3 -m venv bot-env
  • activate virtualenv (for 3.6): source bot-env/bin/activate
  • install dependencies: pip3 install -r requirements.txt
  • run script: python3 app.py
  • or run script with options (see details below): python3 app.py -s woahdude -m ~/Downloads/random-song.mp3
  • the result will be created in the data folder with the current date as the name and the video titled 'final.mp4'
  • please note: the video rendering will take some time, usually 60 to 120 minutes

What command line options does it have?

  • specifying the subreddit (defaults to r/oddlysatisfying): --subreddit [SUB NAME] or -s [SUB NAME]
  • specifying the background music (defaults to a random track from here): --music [MUSIC PATH] or -m [MUSIC PATH]
You can’t perform that action at this time.