Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
/ Video-Generator Public archive

Video-Generator is a utility to scrape Reddit videos from a subreddit. It generates a compilation from the videos with many customization options.

License

Notifications You must be signed in to change notification settings

Em1tt/Video-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Compilation Generator

🗃️ This repository is archived: Reddit changed its API, breaking this code. I will create a similar program for Discord soon.

This utility fetches videos from a preconfigured subreddit, and creates a compilation out of them. It utilizes a queue system, which helps prevent lag on your device.

To start using this utility, run:

npm install

create a tmp folder

Make sure your device has FFmpeg installed on it
Not sure how to install FFmpeg? [Windows] [Linux]

Running the code:

node .
#or
node index.js

Default config.json

{
    "dirs": {
        "output": "",
        "tmp": "./tmp/"
    },
    "input": {
        "subreddit": "escapefromtarkov",
        "sort": "top",
        "videos": 6,
        "ignoreFlairs": ["Discussion"],
        "query": "t=week"
    },
    "output": {
        "resolution": "1920x?",
        "aspect": "16:9",
        "showAuthors": true,
        "fileName": "output"
    },
    "settings": {
        "cleanCache": false,
        "silent": false
    }
}

About

Video-Generator is a utility to scrape Reddit videos from a subreddit. It generates a compilation from the videos with many customization options.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published