Skip to content

blueray453/linux-mpv-gif-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 

Repository files navigation

mpv-gif-generator for Linux

This script only works in Linux. I have tested it on Zorin OS 16.

Original script created by Ruin0x11, which you can find here. I forked it from the-honey, which you can find here.

I tired to keep the script as simple as possible so that you can play with it.

Requirements

  • mpv
  • kdialog
  • ffmpeg

Install Dependencies

sudo apt install ffmpeg kdialog mpv

Installation

head to $HOME/.config/mpv/scripts and place mpv-gif.lua in there.

Usage

Now when you run a video on mpv, you will be able to use g to set start frame, G to set end frame, Ctrl+g to create gif. When you press Ctrl+g, it will ask where you want to save the gif.

Hotkeys

  • g - Start time
  • G - End time
  • CTRL+g - Export GIF

About

Creates animated gifs using mpv hotkeys

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%