willli666 / sji-android-screen-capture

No-Root-Needed Android Fast Screen Capture&Caster&Recorder&Remote controller. Just with an HTML5 browser in PC(connected to device by USB/WiFi adb), you can easily live view and remote control by mouse click/swap in browser and record to MP4 in background then play in HTML5 video. Feel free to feedback with English/日本語/**語

Home Page:https://www.sumatium.com is a android test platform that inspired by this technolege

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No-Root-Needed Android Fast Screen Capture & Caster & 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 from PC's HTML5 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/Mac/Linux/Unix

Feel free to feedback with English/日本語/**語!

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

[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 2.2~4.4. 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.

About

No-Root-Needed Android Fast Screen Capture&Caster&Recorder&Remote controller. Just with an HTML5 browser in PC(connected to device by USB/WiFi adb), you can easily live view and remote control by mouse click/swap in browser and record to MP4 in background then play in HTML5 video. Feel free to feedback with English/日本語/**語

https://www.sumatium.com is a android test platform that inspired by this technolege

License:MIT License