Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

wkentaro/togif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

togif

Command Line Tool to Convert a Video to GIF.

Installation

pip install togif

Usage

$ togif --help
usage: togif [-h] [--fps FPS] [--speed SPEED] [--start START]
             [--duration DURATION] [--resize RESIZE]
             input_file

positional arguments:
  input_file           input video

optional arguments:
  -h, --help           show this help message and exit
  --fps FPS            fps (default: 1)
  --speed SPEED        speed (default: 1)
  --start START        start (default: 0)
  --duration DURATION  duration (default: None)
  --resize RESIZE      resize (default: 1)

Example

togif data/2018-11-02_14-44-14.mp4 --resize 0.2 --speed 12