﻿RoleCultGifMaker 1.0
====================

[RU]

Бесплатная программа для Windows 10 / 11: превращает видео или ссылку YouTube
в GIF или WebP. Можно вырезать отрезок, обрезать кадр (например, в квадрат) и
уменьшить размер.

Установка не нужна: просто запустите RoleCultGifMaker.exe. Все нужное уже
внутри файла. Если Windows покажет окно "Система Windows защитила ваш
компьютер" - нажмите "Подробнее", затем "Выполнить в любом случае" (у программы
нет платной цифровой подписи).

Как пользоваться
- Вставьте ссылку YouTube или выберите файл ("Файл...") и нажмите "Загрузить".
- Отрезок: "Начало" и "Конец" в секундах или мм:сс, можно с миллисекундами
  (1.5 или 0:01.250). Пусто = весь ролик. Конец в отрезок не входит:
  "1" и "3" - это ровно 2 секунды.
- Формат: GIF или WebP. Качество - от низкого до максимума. Кадров/с - авто или
  свое число. "Зациклить" - бесконечное повторение.
- Кадр: быстрые пропорции (1:1, 16:9, 9:16, 4:3, 3:4, 21:9) обрезают по центру.
  Кнопка "Обрезать..." открывает кадр: тяните углы рамки - размер, внутри рамки -
  перемещение, вне рамки - новая рамка. Ползунок внизу выбирает момент видео.
- Ширина: из списка (1080 ... 64) или свое число. Высота считается сама.
- "Сделать" - готово. Файл сохраняется в выбранную папку (по умолчанию
  Видео\RoleCultGifMaker). Кнопки "Показать в папке" и "Открыть файл".

Важно
- Нужны бесплатные ffmpeg (ffmpeg.exe и ffprobe.exe) и, для ссылок YouTube, yt-dlp.exe.
  Если чего-то не хватает, программа сама скажет об этом при запуске и даст ссылки:
    ffmpeg:  https://ffmpeg.org/download.html  (сборки для Windows: https://www.gyan.dev/ffmpeg/builds/)
    yt-dlp:  https://github.com/yt-dlp/yt-dlp/releases/latest
  Положите скачанные .exe рядом с RoleCultGifMaker.exe или добавьте в PATH.
- Настройки хранятся в settings.json рядом с программой.
- Длинные отрезки в GIF получаются очень тяжелыми - лучше WebP или короткий отрезок.

Автор: Hanna Babanakava, Discord: @princesska
https://webkraft.pro  |  https://rolecult.club  |  https://www.patreon.com/RoleCult
Программа распространяется бесплатно. Использует FFmpeg и yt-dlp.


[EN]

A free Windows 10 / 11 app that turns a video or a YouTube link into a GIF or
WebP. You can cut a clip, crop the frame (for example to a square) and make it
smaller.

No installation: just run RoleCultGifMaker.exe. Everything the app needs is
inside the file. If Windows shows "Windows protected your PC" - click "More
info", then "Run anyway" (the app has no paid code signing certificate).

How to use
- Paste a YouTube link or choose a file ("File...") and press "Load".
- Clip: "Start" and "End" in seconds or mm:ss, milliseconds allowed (1.5 or
  0:01.250). Empty = the whole video. The end is not included: "1" and "3" is
  exactly 2 seconds.
- Format: GIF or WebP. Quality - from low to maximum. FPS - auto or your own
  number. "Loop" - repeat forever.
- Frame: quick ratios (1:1, 16:9, 9:16, 4:3, 3:4, 21:9) crop from the center.
  The "Crop..." button opens the frame: drag the corners to resize, drag inside
  to move, drag outside to draw a new frame. The slider picks the moment of the video.
- Width: from the list (1080 ... 64) or your own number. Height is calculated.
- "Create" - done. The file is saved to the chosen folder (default
  Videos\RoleCultGifMaker). Buttons "Show in folder" and "Open file".

Important
- The free ffmpeg (ffmpeg.exe and ffprobe.exe) is required, and yt-dlp.exe for YouTube links.
  If something is missing, the program tells you at launch and gives the links:
    ffmpeg:  https://ffmpeg.org/download.html  (Windows builds: https://www.gyan.dev/ffmpeg/builds/)
    yt-dlp:  https://github.com/yt-dlp/yt-dlp/releases/latest
  Put the downloaded .exe files next to RoleCultGifMaker.exe or add them to PATH.
- Settings are stored in settings.json next to the program.
- Long GIFs get very heavy - use WebP or a shorter clip.

Author: Hanna Babanakava, Discord: @princesska
https://webkraft.pro  |  https://rolecult.club  |  https://www.patreon.com/RoleCult
Freeware - free to use and share. Uses FFmpeg and yt-dlp.
