Giter Site home page Giter Site logo

movie2gif's Introduction

bannar

MOVIE2GIF

これは何?

動画ファイルからアニメーションGIFファイルを作成します。
横幅600pxの大きさで出来上がるGIFファイルのサイズをギリギリまで最小化します。

  • ファイル選択ダイアログ
  • 進行状況をプログレスバーで表示
  • 終了を音と通知ダイアログでお知らせ

Installation

新しいフォルダを作り、そこにファイルを置いて下さい。

git cloneすれば初めからこの様になります。
make_animation_gif.shに実行権限を与えて下さい。

sudo apt update
sudo apt upgrade -y
sudo apt install ffmpeg imagemagick pngquant pulseaudio-utils libnotify-bin zenity

Usage

make_animation_gif.shをダブルクリックするか仮想端末から起動して下さい。

Requirements

  • ffmpeg
  • imagemagick
  • pngquant
  • paplay(pulseaudio-utils)
  • notify-send(libnotify-bin)
  • zenity

Setting

Parameters

標準では以下の設定になっています。

  • FPS=5
    • ffmpeg
  • WIDTH=600
    • mogrify
  • POSTERIZE=4
    • pngquant, 削減ビット数最大値
  • QUALITY=0-5
    • pngquant, 最低0-100

もし設定を変えたい場合はソースの以下の部分を変更して下さい。

# 初期設定 ###########
FPS=5
WIDTH=600
POSTERIZE=4
QUALITY=0-5
# ####################

Icon

man_55.pngはいらすとや様該当ページから個別にダウンロードして下さい。

サイズ比較

最適化前 24.7 MiB

最適化後 13.7 MiB

55.4%のサイズダウン!

Reference

Author

yKesamaru

License

MIT license

それ以外のライセンス

  • Positive.ogg: Nathaniel McCallum
    • Creative Commons Attribution-ShareAlike License
    • /usr/share/sounds/ubuntu/notifications/

movie2gif's People

Contributors

ykesamaru avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.