Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leafo/gifine
Quickly record and edit gifs and videos of your desktop
https://github.com/leafo/gifine
ffmpeg gif gtk3 lgi moonscript video
Last synced: 8 days ago
JSON representation
Quickly record and edit gifs and videos of your desktop
- Host: GitHub
- URL: https://github.com/leafo/gifine
- Owner: leafo
- Created: 2016-12-22T21:05:57.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-12T20:21:55.000Z (about 1 year ago)
- Last Synced: 2024-10-10T22:11:00.080Z (29 days ago)
- Topics: ffmpeg, gif, gtk3, lgi, moonscript, video
- Language: Lua
- Homepage:
- Size: 109 KB
- Stars: 285
- Watchers: 9
- Forks: 14
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gifine
Gifine is a tool for recording and stitching together a short gifs or videos.
It is a GTK application implemented in MoonScript using
[lgi](https://github.com/pavouk/lgi).You can either load a directory of frames, or select a region of your desktop
to record. After loading some frames, you can scroll through them and trim out
what isn't necessary. When you've finalized the video you can export to gif or
mp4.It requires a few external commands to be present to function:
* [ffmpeg](https://ffmpeg.org/) — for creating mp4, and recording from desktop
* [GraphicsMagick](http://www.graphicsmagick.org/) — for creating gif
* [gifsicle](https://www.lcdf.org/gifsicle/) — for optimizing gifs
* [luarocks](https://luarocks.org) — to install the thingIn order to select a record area you need one of the following:
* [slop](https://github.com/naelstrof/slop) — Recommended
* [xrectsel](https://github.com/lolilolicon/xrectsel)Most of these things should be able to be installed from your package manager
The recorded frames recorded aren't automatically cleaned up. You can find them
in your `/tmp` dir if you want to reload a session. Use the *load directory*
button on the initial screen.## Install
luarocks install --server=http://luarocks.org/dev gifine
Run the command `gifine` to use.
## Installation on Ubuntu 16.04 LTS
This has been tested on a fresh install of Ubuntu 16.04 LTS.
Install git:
$ sudo apt install git
Next, install all of the `gifine`'s dependencies and sub-dependencies:$ sudo apt install -y \
ffmpeg \
graphicsmagick \
gifsicle \
luarocks \
libxext-dev \
libimlib2-dev \
mesa-utils \
libxrender-dev \
glew-utils \
libglm-dev \
cmake \
compiz \
gengetopt \
libglu1-mesa-dev \
libglew-dev \
libxrandr-dev \
libgirepository1.0-dev
Install `slop` using the instructions in the `slop` [README.md][slopread] file.Install LGI:
$ sudo luarocks install lgi
Install `gifine`.
$ sudo luarocks install --server=http://luarocks.org/dev gifine
[slopread]:https://github.com/naelstrof/slop
## Demo
[![Gifine demo](https://img.youtube.com/vi/FYSoAt3EZUE/0.jpg)](https://www.youtube.com/watch?v=FYSoAt3EZUE)
## Articles
*
*## License
MIT, Copyright (C) 2016 by Leaf Corcoran