Skip to content

Instantly share code, notes, and snippets.

@Shtian
Last active April 24, 2023 18:37
Show Gist options
  • Save Shtian/26987faf54e14b733267072170db983c to your computer and use it in GitHub Desktop.
Save Shtian/26987faf54e14b733267072170db983c to your computer and use it in GitHub Desktop.
Warp workflow to convert a .mov file to .gif. Based on https://gist.github.com/SheldonWangRJT/8d3f44a35c8d1386a396b9b49b43c385
---
name: Mov to Gif
command: ffmpeg -i {{mov_file}} -pix_fmt rgb8 -r 10 {{output_name}} && gifsicle -O3 {{output_name}} -o {{output_name}}
tags:
- ffmpeg
- gifsicle
- gif
description: Convert .mov to .gif using ffmpeg and gifsicle
arguments:
- name: mov_file
description: Path to local .mov file
- name: output_name
description: Name the .gif, extension included
source_url: "https://gist.github.com/SheldonWangRJT/8d3f44a35c8d1386a396b9b49b43c385"
author: shtian
author_url: "https://github.com/shtian"
shells: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment