GithubHelp home page GithubHelp logo

jvogit / chestercinema Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 28 KB

Experiment with playing videos in discord using gifs. Base off of MovieBot.

License: MIT License

Java 100.00%
discord discord-bot discord-api discord-java discordapp discord-music-bot

chestercinema's Introduction

ChesterCinema

Based off of the concpet of MovieBot. Plays sequential gifs with audio for a "seamless" video experience. This is an experiment in loading more frames and caching them. Frames are loade "buffered" asynchrously. Caching is done by saving the link to a file for next use and put less strain on Discord hopefully. (No need to reupload links/gif every video play) This also can grab any video from YouTube and other supported sites that YouTube-DL supports. This bot is more of a proof of concept and experiment. The bot may not be reliable and there will be bugs.

Requirements

This bot runs on Java 12 platform. During runtime, the bot requires:

  • ffmpeg
  • ffprobe
  • YouTubeDL (for downloading videos from url)

Setup

  1. Build the jar using Maven
  2. Run the jar. The token and other options can be set in config.json generated after first run.

You can create a videos folder and put .mp4 there. This will also be the place where videos are downloaded to.

Play Movies/Videos

  • !movie - Plays a video file locally. Subcommands are: list, stop
  • !onlinemovie - Downloads and plays a video from YouTube. Provide an url or search query.

chestercinema's People

Contributors

jvogit avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.