Skip to content

Instantly share code, notes, and snippets.

gif-from-tweet

There are so many great GIFs out there and I want to have copies of them. Twitter makes that harder than it should be by converting them to MP4 and not providing access to the source material. To make it easier, I made a bash pipeline that takes a tweet URL and a filename, extracts the MP4 from that tweet and uses ffmpeg to convert back to GIF.

Dependencies

  • ffmpeg
    • macOS: brew install ffmpeg
    • Ubuntu/Debian: apt install ffmpeg
@kayovoldk
kayovoldk / keybase.md
Created August 9, 2017 02:45
keybase.io proof

Keybase proof

I hereby claim:

  • I am kayovoldk on github.
  • I am kayovoldk (https://keybase.io/kayovoldk) on keybase.
  • I have a public key ASA2BZpw8EOlQ-dJSOAKmk74OXfKczLLrUPf0MTnCjmW5Qo

To claim this, I am signing this object: