Giter Site home page Giter Site logo

manniru / sji-android-screen-capture Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hereshem/sji-android-screen-capture

0.0 2.0 0.0 9.55 MB

android fast screen capture/recorder/remote controller. Fast View/Record Android screen by HTML5 video in browser, Remote Control Android by mouse click in browser

License: MIT License

sji-android-screen-capture's Introduction

Android Fast Screen Capture & Recorder & Remote Controller From PC's Browser

This project is aimed to provide a fast way to capture android screen and view,record,remote control it in PC just by HTML5 video capable browser.
No Root Required: You need NOT root your android device)
It's real time (can encode 4+ frames/second for 1920x1080 screen. If shrink size to 320xauto image, can encode at 8+ frames/second). And it's low bandwidth usage (typically 150,000 bytes/second). This product will do encoding in host and android by ffmpeg. Support Chrome, Firefox, Safari. Windows/Linux/Unix

New: Recorded file can be auto converted to H.264/MP4 and WebM video format if you'v installed ffmpeg in local PC. Recommend use ffmpeg-2.0.1
New: Support Remote Control by mouse click/move/drag on live view UI. (Tested on Android 4+ and 2.3)

[Screenshot]

Menu

Live View

Recorded Videos

[How to use]

1.Setup PC Environment (Windows/Mac/Linux/Unix)

Install Android SDK (at least "Platform Tools" which include adb(Android Debug Bridge)).  
install node.js.  
Install android USB driver automatically or manually when you first plug Android into PC.
If you want to always record as H.264/MP4 or WebM video format, you need install FFMPEG into PC.

To simplify other settings, you'd better put the directory of adb and local ffmpeg into PATH environment variable otherwise you need put the fullpath of them into "adb" and "ffmpeg" settings in stream.json file.

2.Start Android Screen Capture (include a video stream server) on PC


node dir_of_this_project/bin/stream.js

You can edit configuration file stream.json to change IP, port, SSL...

Or you can specify your own configuration file which can be copied from config.json file in this dir.


node dir_of_this_project/bin/stream.js dir_of_your_config/myConfig.json

3.Show video/animated image of android from PC by browsing http://localhost:3000/
Support WebM video and H.264/MP4 and Animated JPEG/PNG by Multi-Part HTTP Response. Chrome,Firefox,Safari are well supported. IE10+ is not tested but should be OK.

=================== [Note]
Currently tested in android 4.2, 4.1, 4.0, 2.2, 2.3. With PC Browser Chrome 33, Firefox 27, Safari 7. Host OS can be Windows/Mac/Linux (Unix should also be OK, but not tested).
Build: src/build_all.sh has been tested in Mac OS X 10.7 64bit and Ubuntu 12 64bit, Android NDK r8 or r9. Gcc 4.4.3 or 4.8.
bin/android/busybox is downloaded from busybox binary downloads.

sji-android-screen-capture's People

Contributors

jjqq2013 avatar

Watchers

MUHAMMAD MANNIR AHMAD avatar  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.