VidToGif
A simple and efficient tool to convert any video to GIF at original resolution. Supports both command-line (CLI) and graphical (GUI) interfaces.
Features
- Convert any video format (MP4, AVI, MOV, MKV, WMV, FLV, WebM, etc.) to GIF
- Preserve original video resolution (same-size output)
- Adjustable output FPS
- Optional start/end time trimming
- CLI with progress bar
- GUI with file browser, options panel, and progress indicator
- Cross-platform (Windows, macOS, Linux)
Installation
From PyPI
pip install vidtogif
From source
git clone https://github.com/cycleuser/Vid2Gif.git
cd Vid2Gif
pip install -r requirements.txt
pip install .
Usage
CLI
Basic conversion (output defaults to <input_name>.gif):
vidtogif input.mp4
Specify output path:
vidtogif input.mp4 -o output.gif
Set output FPS and time range:
vidtogif input.mp4 --fps 15 --start 2.5 --end 10
Run as a Python module:
python -m vidtogif input.mp4
Show help:
vidtogif --help
GUI
Launch the graphical interface:
vidtogif --gui
Or:
python -m vidtogif --gui
The GUI provides:
- Input Video - Browse and select any video file
- Output GIF - Choose where to save the GIF (auto-filled)
- Options - Set FPS, start time, and end time
- Progress bar - Real-time conversion progress
- Convert button - Start the conversion
CLI Reference
usage: vidtogif [-h] [-o OUTPUT] [--fps FPS] [--start START] [--end END] [--gui] [-v] [input]
Convert video files to GIF at original resolution.
positional arguments:
input Path to the input video file.
options:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
Path for the output GIF file. Defaults to <input_name>.gif.
--fps FPS Frames per second for the output GIF (default: video FPS, capped at 30).
--start START Start time in seconds.
--end END End time in seconds.
--gui Launch the graphical user interface.
-v, --version show program's version number and exit
Requirements
- Python >= 3.8
- opencv-python >= 4.5.0
- Pillow >= 9.0.0
- Tkinter (included with most Python installations, required for GUI only)
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Metadata
Release files for vidtogif 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| vidtogif-0.1.0.tar.gz | 21.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vidtogif-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.9 kB
Release files / vidtogif-0.1.0.tar.gz
| Download URL | vidtogif-0.1.0.tar.gz |
|---|---|
| Size | 21.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8420e2de7113fb9967039e3094f4110759ef81ac3ba1b5e4bd5d185d22aa88c
|
|
BLAKE2b-256 checksum How to use checksums |
32aff20faec49705d6fb31ff63ccab2e7295cd3b0d571952141aabf000838fa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / vidtogif-0.1.0-py3-none-any.whl
| Download URL | vidtogif-0.1.0-py3-none-any.whl |
|---|---|
| Size | 19.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
657e783ff32d0cab4e0bfdfa8faaab6ed001d877a9a3e773f4138eb418c61791
|
|
BLAKE2b-256 checksum How to use checksums |
a3d670256d7d927314bcad85a8026fde03540210808883b968c27484b2ec8775
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for vidtogif 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.