Giter Site home page Giter Site logo

boddy / vdo2gif Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kgmyatthu/vdo2gif

0.0 0.0 0.0 26.38 MB

Convert .mp4 and .avi videos into gif in command line without a fuss of clicking around in dodgy GUI(s)

License: MIT License

Python 100.00%

vdo2gif's Introduction

python version pip moviepy

What is this

vdo2gif is a command line tool for converting video file into gif. I find myself opening video editing software just to do simple gif which i'd use to show examples in readme.md of my github repos. This tool is compitable with any python3 compitable system. Tested on windows 10 and linux-debian x86 machines.

Features

  • custom fps, speed, size.

Installation

Install python3

root@kali:~# sudo apt-get install python3

Install dependencies

root@kali:~# sudo python3 -m pip -r requirement.txt

Install pip if you see something like pip module not found.

  root@kali:~# sudo apt-get install python3-pip

Usage

Converting the whole video file

To convert the whole video file to gif

usage: python3 vdo2gif.py /path/to/input.mp4 /path/to/output.gif 

This example convert the whole video file to gif.

image1

Converting only a specific part of the video file

usage: python3 vdo2gif.py /path/to/input.mp4 /path/to/output.gif -t hr:min:sec hr:min:sec 

This example convert only the part between 5sec and 9sec of the video file

image1

REMINDER TO MYSELF ::

vdo2gif's People

Contributors

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