GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Incalos/Convenient-Tools-With-Python: This project involves all kinds of practical and convenient tools written in Python.

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
README_CN.md
README_CN.md
 
 
Video2Gif.py
Video2Gif.py
 
 

Repository files navigation

Convenient-Tools-With-Python

This project involves all kinds of practical and convenient tools written in Python.

  • Video2Gif.py : used to convert video files to GIF animations

1. Video2Gif.py

  • Open the terminal and enter the following command to install the python libraries required by this document.

    pip install moviepy 
  • Continue to enter the following command to convert the corresponding video file to Gif animation, the Gif file is saved in the same directory as the video file.

    python Video2Gif.py --path 1.mp4 --resize (200,500) --fps 10 --clip (3,10)  
                                                0.5                                    
  • Parameter description in the command:

    • path : The path to the video file, either absolute or relative.
    • resize : Modify the size and accept a tuple or a value between 0 and 1. For example, (300, 200) means that the size is converted to 300 wide by 200 high, and 0.5 means that the size is scaled to half.
    • fps : Pumping frames and accept integers. For example 20 means generating the mp4 as a Gif at 20 frames per second.
    • clip : Video crop and accept tuple. For example (3, 10) means crop video between 3-10 seconds to generate Gif.

About

This project involves all kinds of practical and convenient tools written in Python.

Topics

python-toolboxvideo2gif

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.