(WIP) Gif.ts

CI

convert your videos to gifs

Installation

deno install --allow-read --allow-write --allow-run -f -n gif https://deno.land/x/deno_gif@0.3.0/cli.ts

This module Requires ffmpeg:

brew install ffmpeg

Example

Example with options

import { gif } from "https://deno.land/x/deno_gif@0.3.3/mod.ts";

const options = {
  width: 480,
  height: 380,
};

gif("https://www.w3schools.com/html/mov_bbb.mp4", "output", options);

Example without options

import { gif } from "https://deno.land/x/deno_gif@0.3.3/mod.ts";

gif("https://www.w3schools.com/html/mov_bbb.mp4", "output");

or using the cli

gif -w 480 -t 350 https://www.w3schools.com/html/mov_bbb.mp4 output

Options

  • width type number
  • height type number

Show Your Support

Give a 🌟 if you like this project!

License

MIT