Skip to content

A collection of Python scripts for converting between various media formats, including GIF to MP4 and image sequences to animated GIFs, utilizing libraries like MoviePy and ImageIO.

License

Notifications You must be signed in to change notification settings

victoriomolina/gif-converters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Converters

This repository contains two simple Python scripts for converting between image formats and converting GIF files to MP4 videos. These scripts utilize popular Python libraries, MoviePy and ImageIO.

Features

  1. GIF to MP4 Converter: Convert GIF files to MP4 videos using MoviePy.

  2. Images to GIF Converter: Convert a series of images (e.g., PNG, JPG, JPEG, GIF, BMP) into a GIF animation using ImageIO.

Prerequisites

Before using these scripts, you'll need to have the following installed:

Usage

GIF to MP4 Converter

To convert a GIF to an MP4 video, run the following command:

python gif_to_mp4.py

Follow the prompts to provide the input GIF path and the output MP4 path.

Images to GIF Converter

To create a GIF animation from a directory of images, run the following command:

python images_to_gif.py

Follow the prompts to provide the input images directory and the output GIF path.

Contributing

If you'd like to contribute to this project, feel free to fork the repository and submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • MoviePy
  • ImageIO

About

A collection of Python scripts for converting between various media formats, including GIF to MP4 and image sequences to animated GIFs, utilizing libraries like MoviePy and ImageIO.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages