LoginSignup
3
1

More than 5 years have passed since last update.

Androidいろいろメモ

Last updated at Posted at 2018-01-21

Androidいろいろメモ

1個ずつ記事にするのは面倒だけど、しょっちゅう忘れてググり直す情報のメモ。

Gifアニメ

画面の動きをGifアニメにする方法。
ファイルサイズが肥大化するので、 540x960 のところはできるだけ小さくした方が良い。
かと言って小さくしすぎると荒くなる。実際の半分くらいがちょうどいい。

adb shell screenrecord

adb shell screenrecord /sdcard/output.mp4 --size 540x960
adb pull /sdcard/output.mp4

mp4をgifアニメに変換

ffmpeg -i [mp4 file] -an -r 15 -pix_fmt rgb24 -s 540x960 -f gif [output animation gif]

繰り返し数を指定

↑の方法だと無限ループになる。1回だけにしたい場合
https://qiita.com/sune2/items/734cc4c631bb0d202910

brew install gifsicle
gifsicle --no-loopcount file.gif > out.gif

CHANGELOG自動生成

gem install github_changelog_generator
github_changelog_generator
3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1