sji-android-screen-capture
This project is stopped a year ago. I suggest you use another better project https://github.com/openstf/stf
[Screenshot]
Home
Live Viewer
Recorded Video Viewer
[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 config.json file.
2.Start Android Screen Capture (include a video stream server) on PC
node dir_of_this_project/bin/asc.js
You can edit configuration file config.json to change IP, port, SSL...
Or you can specify your own configuration file which can be partially copied from config.json file in this dir.
node dir_of_this_project/bin/asc.js dir_of_your_config/myConfig.json
3.Show video/animated image of android from PC by browsing http://localhost:3000/
Support H.264/MP4 and Animated JPEG/PNG by Multi-Part HTTP Response.
Chrome,Firefox,Safari are well supported.
===================
[Note]
Currently tested in android 2.2~4.4. With PC Browser Chrome 33, Firefox 27, Safari 7, IE8+.
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.
Currently this product need PC, but can be modified to run in rooted android device directly, if you are interested please contact me.
=================== More Note:
Actually speaking, for android 4.2+, we did can get screenshot from device at high speed(30~60fps), but encoding jpeg in android and transfer in internet will cost time, so overall speed is down depends on final image size you specified and device spec. In our experience, 0.1s delay for 720x1080, about15fps, in LAN, or normal internet.
If you plan to use this product in slow internet environment, you maybe be disappointed. But you can customize this product, such as use OMX encoder in android, send H264 stream to PC's VLC player instead of browser, that has been approved be fast.
Performance:
Youtube Video