RoboGif


Source link: https://github.com/izacus/RoboGif

RoboGif

A small utility to record Android device screen to an optimized GIF so you can paste it to GitHub or a simillar 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:

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

Resources

Yet another android custom progress view for your music player.

A minimalist, View-based application framework for Android.

Plaid is a showcase of material design that we hope you will keep installed. It pulls in news & inspiration from Designer News, Dribbble & Product Hunt. It demonstrates the use of material principles to create tactile, bold, understandable UIs.

Android Library for JoyStick View (customizable, small and lightweight).

Passwy is a simple open sourced Password-Generator app for Android.

Convert any Java object to JSON for easier debugging.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes