Giter Club home page Giter Club logo

gifgenerator's Introduction

GIFGenerator

Developed during GCI 2016.
This repository creates a GIF file with subtitles from a video and subtitle file.

Setup Instructions

Install python3

If python3 is not installed
Run this in a command window:

sudo apt-get install python3

Install pip

If pip3 is not installed
Run this in a command window:

sudo apt-get install python3-setuptools
sudo easy_install3 pip
sudo mv /usr/local/bin/pip /usr/local/bin/pip-3

Install pysubs2

Run this in a command window:

sudo pip3 install pysubs2

Install MoviePy

Run this in a command window:

pip install moviepy

If you have neither setuptools nor ez_setup installed the command above will fail.
If this is the case run this:

pip install ez_setup

Usage Instructions

Open a command window in directory containing gif_generate.py Run this command:

python gif_generate.py [-h] [--display-text= DISPLAY_TEXT]
                       [--sub-number= SUB_NUMBER] [--gif= GIF]
                       [--resize= RESIZE] [--fps= FPS] [--font= FONT]
                       [--font-size= FONT_SIZE] [--font-color= FONT_COLOR]
                       [--stroke-width= STROKE_WIDTH]
                       [--stroke-color= STROKE_COLOR] [--capital= CAPITAL]
                       video subtitles

Or run this command for more information:

python gif_generate.py [-h]

gifgenerator's People

Contributors

manveerxyz avatar

Watchers

 avatar  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.