Giter Club home page Giter Club logo

convert-mov-to-gif's Introduction

Convert an MOV file to GIF

Convert MOV files into animated GIF's for quick preview and e-mail friendly sharing.

Getting Started

This was designed for Mac OS X users.

Install Homebrew

Homebrew is a package manager for Mac OS x. You will need this to later download a few open source libraries.

Install FFmpeg

Using homebew, you will need to install ffmpeg. This is the tool that will compress your existing .mov file.

brew install ffmpeg

Install Quartz

Quartz is required to use the next package, Gifsicle.

brew cask install xquartz

Install Gifsicle

brew install gifsicle

Run Ruby Script

I created a Convert class that will do all the work. I also made it Object Oriented so that you can later decide to integrate it into a larger application.

ruby Converter.rb

Final Thoughts

Using this simple class as my base, I can easily integrate this into a Rake Task or maybe use FileList to do more work with string manipulation. Hopefully this simple tutorial shows you that the possibilities are infinite using Ruby, Shell, and home-brew.


Resources

  • If you want to learn more about how %x works in Ruby, read this tutorial

convert-mov-to-gif's People

Contributors

chrisjmendez avatar testacount1 avatar

Watchers

 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.