• Stars
    star
    107
  • Rank 315,054 (Top 7 %)
  • Language
    Shell
  • License
    Other
  • Created almost 10 years ago
  • Updated almost 8 years ago

Reviews

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

Repository Details

(Project Stopped) 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

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

More Repositories

1

proxy-login-automator

A single node.js script to automatically inject user/password to http proxy server via a local forwarder
JavaScript
382
star
2

ApkRename

rename android app package name(just a identity of app, not java package name) without source, without changing code. No need apktool, no need aapt.
Shell
145
star
3

build-nodejs-for-android

Build nodejs for android(arm,arm64,x86,x64,mipsel) perfectly and provide prebuilt binaries, and a docker image as workbench.
Shell
108
star
4

nodejs-android-prebuilt-binaries

Prebuilt binaries of NodeJS for Android(arm,arm64,x86,x64,mipsel), full or limited(by --without-snapshot --without-inspector --without-intl)
86
star
5

mac_list_windows_pids

Mac OS X: list all windows title and their owner process ids
Python
62
star
6

android-gcc-toolchain

Enable you to use NDK's standalone toolchain easily, quickly and magically for cross-compile
Shell
53
star
7

ubuntu-with-utils

a docker image of ubuntu with some daily utilities such as sudo, bash-completion vim less man lsof ping iptables wget curl 7z git
Dockerfile
19
star
8

ffmpeg-android

Prebuild executable file of ffmpeg 2.1.3 for Android. Build ffmpeg for android purely by NDK's gcc. No use JNI nor ndk-build nor Android.mk because i hate them. This build also contains external libx264 and libvpx for H264 and WebM
Shell
17
star
9

tunnel.js

Create a tunnel for port forwarding/reversing in most restricted network
JavaScript
13
star
10

powershell-local-group-policy-reg

Load group policy's registry hive to a temporary registry key path, then you can edit it by normal external command.
C#
9
star
11

ApkRePermission

add/remove/modify <uses-permission .../> of android app
Java
9
star
12

build-android-in-OS-X-Yosemite-Xcode-7

build whole android (AOSP) in Mac OS X Yosemite + Xcode 7.0.1
8
star
13

iOS_Monitor_Location_Region_In_Background

iOS: monitor entering/leaving a specified location region, in background, even screen off, app terminated.
Swift
6
star
14

android_usb_audio_recorder

pretend PC is an USB Audio Device for Android Device so record Android's audio output
Python
4
star
15

android_so

all android 4.4.2/4.2.2 shared library files. 4.42 is from Nexus 7, 4.2:2 is from Galaxy Nexus SC-04D
Shell
4
star
16

docker-geek

A tool suite that lets you freely manipulate files and network of a container, image, or even the host, with a tool container
Shell
4
star
17

forward.js

An efficient port forwarding utility
JavaScript
3
star
18

sjitech.github.com

SJI technology blog. Maintained by SJI research center for advanced technology.
JavaScript
2
star
19

AspectDex

Weave AspectJ code into Android DEX file directly without convert DEX to JAR so eliminate conversion error
Java
2
star
20

elasticsearch_kibana

An inventory management example consists of elasticsearch/kibana + filebeat + osquery
1
star
21

ApkDebug

set android:debuggable="true" of android app (APK file) without recompiling
Java
1
star
22

PasswordForgotUnlocker

一个似乎无用的试验品,能够启动service就可以解除密码锁屏 (密码并没有被清除)
Java
1
star