• Stars
    star
    521
  • Rank 84,952 (Top 2 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 9 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A small utility to record Android device screen to a GIF

RoboGif

A small utility to record Android device screen to an optimized GIF so you can paste it to GitHub or a similar service.

Requirements

  • Python 2.7 or 3.x
  • adb in path
  • ffmpeg in path (has to be decently new to support palettegen and paletteuse filters and have libx264 if you want video output)

Optional

  • gifsicle for further gif optimization

Getting ffmpeg

OS X
brew install ffmpeg
Linux

On Ubuntu 15.04 or equivalent, you can just use apt:

apt-get install ffmpeg

On Ubuntu 14.04 you can use Ubuntu Multimedia for Trusty PPA to get new ffmpeg.

Windows

Windows support was not tested as of yet. Zeranoe's static builds should work fine as long as they're named ffmpeg.exe in path.

Installation

pip install robogif

Usage

To record a gif:

robogif demo.gif

RoboGif Recorder v1.1.2
Starting recording on <serial>...
Press Ctrl+C to stop recording.
Recording done, downloading file....
5679 KB/s (7036946 bytes in 1.209s)
Converting video to GIF...
Done!
Created demo.gif

Example of a recorded GIF:

GIF example

or to record a video:

robogif demo.mp4

RoboGif Recorder v1.1.2
Starting recording on 061ffcff0b107aef...
Press Ctrl+C to stop recording.
Recording done, downloading file....
7121 KB/s (1048401 bytes in 0.143s)
Optimizing video...
Done!
Created demo.mp4

Connecting devices

robogif requires adb for accessing Android devices. Before recording a GIF or video, you need to connect the target device to your computer using a USB cable. The device must have "USB debugging" enabled. You can check if the device is properly connected by running adb device from your terminal. If your device shows up, you are ready to go.

> adb devices -l
List of devices attached
CVH7N25B12003553       device usb:346594891X product:angler model:Nexus_6P device:angler

More Repositories

1

AndroidOpenGLVideoDemo

Demo of using TextureView and OpenGL on it to render video
Java
163
star
2

FuzzyDateFormatter

Android formatter for fuzzy date and time
Java
120
star
3

slo_pos

Slovenian part-of-speech tagger for Python/NLTK
Python
14
star
4

hass-swissweather

HomeAssistant module for MeteoSwiss
Python
13
star
5

img2c

Image to raw C header converter
Python
8
star
6

pyopencv_demo

Demo of how to use SURF/FLANN to find similar images in python
Python
8
star
7

SlovenianLemmatizer

LemmaGen Slovenian lemmatization library with bindings for C, Java and Python
C++
8
star
8

gortmpd

Attempt at a WebM streaming server written in Go
Go
7
star
9

solr_example

Example configuration for Solr with Slovenian language support
6
star
10

slo_ner_service

This is a RESTful service for doing named entity extraction for slovenian language.
Java
5
star
11

mokr

Slovenian weather forecast app for iPhone
Objective-C
4
star
12

SloRealestate

Project to parse and sanitize slovenian realestate ad data
Python
4
star
13

pyvideo

Python video decoding library using AVBin as a backend
Python
4
star
14

nothing_here

My personal blog in Octopress
JavaScript
2
star
15

pysolarized

Yet another library for talking to Solr with Python
Python
2
star
16

pyglet

git fork of pyglet with osx threading issues fixed
Python
2
star
17

android-ndk-size-analyzer

Python utility to analyze size of NDK .so files
Python
1
star
18

octopress-bitbucket

Bitbucket aside for Octopress blog platform
JavaScript
1
star
19

collectd-solr

Python module for collecting Solr stats with collectd
Python
1
star
20

vim-config

My VIM IDE configuration
Vim Script
1
star
21

Parkomat

A simple application to assist with SMS parking payments in Ljubljana.
Java
1
star
22

Promet

Application for traffic information in Slovenia
Java
1
star
23

slo_ner

slo_ner
Python
1
star