GithubHelp home page GithubHelp logo

py-android-viewer's Introduction

Hi there ๐Ÿ‘‹

py-android-viewer's People

Contributors

razumeiko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

py-android-viewer's Issues

how to connect two or more devices?

Hi Host,

first thanks a lot for your code, lot of help to me.
I want to know if it's possble to connect two or more devices using this project, how do I do this?
I have no idea, plese give me some tips..

Thanks,
cuntoulishfu

The screen updates slowly when I adjust max_width to 0

Hi, I reach this project from SCRCPY, it works well in my pc and your code is great.

But I had a little problem, when I adjust max_width to 0, the resolution changed to 1080*2160, and then the screen updates very slowly. If I only use the latest frame(Queue(maxsize=1)), the update speed is back to normal, but the screen is blurry.

So, could you give me some support? I'm looking forward to your reply soon.

CPU usage is too high

When the program is running, the CPU usage is too high, and the I7 9750H occupies nearly 15% of the CPU.
Compared with the original program, scrcpy runs only 1%.

image

image

Request for authorization

Hey dude, its amazing, may i use part of your code in my personal project(for fun, non-profiting)?

[WinError 5] Access is denied

I am using windows 7 64 bit. I already set the adb/scrcpy path in viewer.py after an error came up. Now, it shows the following error. I tried to open using admin, but still the same.

2020-05-22 19:01:55.013 INFO: Upload JAR...
Traceback (most recent call last):
File "E:/Pycharm_Projects/make_them_jump/test.py", line 3, in
a = viewer.AndroidViewer()
File "E:\Pycharm_Projects\make_them_jump\viewer\viewer.py", line 43, in init
assert self.deploy_server(max_width, bitrate, max_fps)
File "E:\Pycharm_Projects\make_them_jump\viewer\viewer.py", line 96, in deploy_server
adb_push = subprocess.Popen([self.adb_path, 'push', server_file_path, '/data/local/tmp/'],
File "C:\Users\Oliver\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Oliver\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
PermissionError: [WinError 5] Access is denied

start scrcpy-server.jar error

cmd

adb shell CLASSPATH=/data/local/tmp/scrcpy-server.jar app_process /com.genymobile.scrcpy.Server 0 8000000 true

error info

[server] ERROR: Exception on thread Thread[main,5,main]
java.lang.IllegalArgumentException: The server version (0) does not match the client (1.12.1)
        at com.genymobile.scrcpy.Server.createOptions(Server.java:78)
        at com.genymobile.scrcpy.Server.main(Server.java:162)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:388)

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.