Меню Рубрики

Gif редактор для linux

QGifer — Создание GIF анимаций в Ubuntu Linux

QGifer — это отличный инструмент для создания анимированных GIF-файлов в Ubuntu Linux. Данное приложение отличается от других тем, что оно написано на Qt и позволяет конвертировать небольшие видеоролики в GIF-анимации.

Причём более правильным будет сравнить QGifer с полноценным редактором анимаций, нежели просто с конвертером.

Некоторые особенности приложения:

  • Создание GIF из видеоролика
  • Редактор цветовой палитры
  • Дизеринг
  • Вставка текста и изображений
  • Обрезание изображений
  • Добавление различных фильтров
  • Оптимизация GIF с помощью ImageMagick
  • Менеджер проектов

Из недостатков стоит отметить работу только с видео, длиной не более 1800 кадров, а также только в форматах AVI, MPG, MP4 и OGV. Однако что мешает обрезать нужный видеофайл до необходимого размера, а затем добавить его в QGifer? Причём сделать это можно из консоли, используя утилиту libav (можно и любую другую, на ваше усмотрение).

Источник

Best Tools to Make Animated GIF in Linux Systems

Animated GIF images have become an art of its own, with funny scenes and memes flooding the internet. Animated GIFs are also useful to us geeks, for example for showing interactive terminal output. When there is not enough content to warrant entire video but you still need moving picture, animated GIF is what you need. So today we will show five ways you can create GIFs using open source Linux software.

1) Using gtk-recordmydesktop

Lets first install the software we need. We need above mentioned screencasting software, and we also need imagemagick and mplayer. So let’s install them.

Next we use recordmyDesktop software to record terminal window while we execute some command. We will keep it simple so we will just ping google. When that is recorded, and file is saved in

/Videos/mygif.ogv we move to next step. First cd into videos directory.

Then we need to dissemble the video to frames

It will play video and start the process, at the end we will have images in the

/Videos/img_mygif directory. You can enter that directory and delete some of the images on start and the end in order to make GIF shorter.

To create actual GIF, we need to use imagemagick to fuse images back together in GIF format. It is very resourced intensive task, it can throw down to knees even most powerful ones of machines, so we will use options to limit usage of resources, which will in turn make the process take more time. But at least you wont end up with completely unresponsive system. The options for limiting are -limit memory 1 -limit map 1

In order to make the gif smaller we can optimize it

And here is the final GIF:

2) Using Byzanz to make GIF

Byzanz is another software which can greatly simplify the creation of the GIFs. First, of course we need to install Byzanz.

We can right away start by making a GIF

The most challenging part here is actually fitting the right area of the screen to capture. The options width and height need to be tested several times before you get the right alignment. Here are the options and the syntax of byzanz-record command:

3) Using peek to make GIF

Peek is a great piece of software that enables you to quickly record GIFs by selecting and recording a piece of screen. To get peek

To get dependencies

Installing the package

And start the peek

It will give you frame like this

You can easily use this frame to get a piece of the screen and record GIF there. For example, I will Peek into terminal again.

4) Using Gifine to make animated GIF

Gifine is a free GTK based application tool that can be used to record your desktop screen and create animated gifs or video.

Before starting, you will need to install FFmpeg to your system. By default, FFmpeg is not available in Ubuntu default repository. So you will need to add PPA for FFmpeg. You can do this with the following command:

Next, update your system with the following command:

Finally, install FFmpeg with the following command:

Next, you will also need to install other dependencies required by Gifine. You can install all of them with the following command:

Next, you will need to download and compile XrectSel to your system. It’s basically an application that tells you the geometry of a rectangular screen region which you have selected by dragging the mouse/pointer. You can download it with the following command:

Once the download is finished, extract the downloaded file with the following command:

Next, change the directory to the extracted directory and install XrectSel with the following command:

Finally, install Gifine with the following command:

Once Gifine is installed, you can launch it with the following command:

You should see the Gifine application UI in the following image:

Next, click on the Record rectangle button, then select a rectangular area on your screen which you want to record. Recording is now begins and you should see the following image:

Once you are done with the recording, click on the Stop recording button. You should see the following image:

Next, click on the Save GIF or Save MP4 button to save the recording as a GIF or a video.

5) Using Gifcurry to make GIF

Gifcurry is a Haskell based program to create animated GIFs, overlaid with optional text, from video files. It includes both the GUI gifcurry_gui and the command line gifcurry_cli. It uses ffmpeg and imagemagic to process video and convert to GIF. Gifcurry offers the features below

  • Convert video to gif:
  • Add text to gif
  • Choose start time
  • Set duration
  • Set gif width
  • Adjust Quality
  • Upload to Imgur or Giphy

Run the command below to install it

now install ffmpeg and imagemagic

Now download gifcurry

Unzip the compressed archive and access to the folder

You can check the content as below:

You can see the gifcurry for GUI and CLI. You can show the help of the gifcurry GUI as below to see how to use the parameters

Now we can create our gif in command line. In the command above, we will try to create a gif animation of a video that we have. The default video takes 13 secondes but for our gif animation, we will set less time

Conclusion

There we have five ways to make animated GIFs on Linux and this guide show the case of an Ubuntu system. The first method, using imagemagick, is also useful if you have video from the internet, not made by yourself. Second and third method rely on you making the screencast on your computer. The fourth can be usefull to do a gif of your desktop or a video of your choice as the fifth tool. You can pick methods based on your needs and preference, and generally, all the methods can get you the same result. This was all for today’s article, thank you for reading.

Источник

QGifer — GIF редактор.

Создание анимированных GIF из видео.

Автор: admin.

QGifer — очень и очень неплохая программулина, которая поможет вам в создании анимированных GIF-файлов из видео роликов. Сразу же возникает закономерный вопрос, а зачем это нужно? Например, один из вариантов конкретного применения — это собственные анимированные аватарки, да мало ли, что еще может быть. GIF-анимация довольно широко используется в рекламных баннерах, ну, а область применения такой анимации, напрямую зависит только от широты вашей фантазии.

Программа является кроссплатформенной и по своей сути представляет, как бы полноценный видеоредактор, в сочетании с конвертером из видео в GIF. Правда, нужно отметить, что данный редактор имеет только один формат файла на выходе, это GIF. Суть всей процедуры заключается в четырех последовательных шагах: берется любой ролик, из него выбирается определенная часть, которую вы хотите использовать в своей анимации, затем преобразовывается это в GIF-файл и проводится оптимизация.

Единственное о чем нужно помнить, что программа может работать с видео, длительностью не более 30 сек., это пожалуй, один из недостатков данной программы. Нет, на окончательный результат это никак не влияет, просто прежде, чем «скармливать» этому преобразователю видео, его нужно сначала обрезать в любом видеоредакторе, например Avidemux, как это сделать, описано здесь: http://www.linux-info.ru/uroki-video.html . Кроме всего прочего, видеоредактор может обрезать (из 30 сек. ролика), добавлять текст, добавлять изображения, применять некоторые фильтры и прочее. Вот простой пример работы данной «проги».

Краткий перечень функций:

1) Создание GIF-анимации.
2) Формат преобразования, видео\GIF.
3) Редактирование палитры цвета.
4) Дизеринг.
5) Вставка изображений.
6) Вставка текста.
7) Обрезка.
8) Фильтрация.
9) Зацикливание.
10) Создание и сохранение проектов.
11) Конечная оптимизация.

Формат обрабатываемого видео: AVI, MPG, MP4, OGV, не более тысячи восемьсот кадров или 30 сек. Немаловажным является то, что программа хорошо поддерживается и переодически обновляется в виде новых релизов, с выходом которых, появляются все новые возможности и улучшения. В целом, QGifer — прост, удобен, эффективен и производит положительное впечатление. Кстати говоря, интерфейс программы по умолчанию на английском, но легко переключается на русский в соответствующих настройках из меню. Для полноты понимания основных принципов работы с редактором, можете посмотреть видеоролик. С первого раза, скорее всего понять будет сложно, поэтому, просмотрите несколько раз, затем, попробуйте поэкспериментировать практически и затем, просмотрите еще несклько раз, тогда все станет понятным. Видео, для удобства, можно раздвинуть на полный экран. Первый ролик мой личный, более упрощенный, но намного понятней, второй чужой и будет посложнее, но зато несколько полноценнее, особенно в плане оптимизации и изменения палитры, в тандеме должен получиться хороший результат.

Смотреть ролик № 1.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Mac os contents папка
  • Mac os computer name
  • Mac os command line
  • Mac os color picker
  • Mac os clone disk