Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

choppy/pixely video over USB&TCPIP adb connection. #201

Closed
XxTWMLxX opened this issue Jul 18, 2018 · 10 comments
Closed

choppy/pixely video over USB&TCPIP adb connection. #201

XxTWMLxX opened this issue Jul 18, 2018 · 10 comments

Comments

@XxTWMLxX
Copy link

I have a new oneplus 6 and am getting very choppy and pixely video streaming of my phone screen.
using my windows 10 laptop with the phone via usb or tcpip.

I had a nexus 6p, and both usb & tcpip went smoothly with no pixelation.
using the same laptop also.

what is the issue here?

@rom1v
Copy link
Collaborator

rom1v commented Jul 18, 2018

Could you post a screenshot, please?

Possibly related: #40

@XxTWMLxX
Copy link
Author

here is how it looks when blurry
blurry1

and here is how it looks other times as it should
clear

and will randomly go blurry even when sitting on a stationary screen.

@rom1v
Copy link
Collaborator

rom1v commented Jul 19, 2018

What command did you execute exactly? Did you pass any -b argument?

@XxTWMLxX
Copy link
Author

XxTWMLxX commented Jul 19, 2018

ADB tcpip 5555
ADB connect 192.168.2.x:5555
Scrcpy.exe

Then the display window opens on PC of phone screen.

@rom1v
Copy link
Collaborator

rom1v commented Jul 19, 2018

It seems the codec on your device does not understand the bitrate correctly.

What if you use crazy bitrate values:

scrcpy -b 32m
scrcpy -b 100m
scrcpy -b 1000m

?

@XxTWMLxX
Copy link
Author

XxTWMLxX commented Jul 19, 2018

the video quality is smooth at 100m but is very slow motion even over my 1gbps link.

will try lower bitrates til i find a happy medium of speed and quality see if i can get it to work.
this is the console after running the command.

log

@XxTWMLxX
Copy link
Author

scrcpy.exe -b 20m seems to be a very happy medium for my device.
not pixely and smoothly playing video. no delay

@rom1v
Copy link
Collaborator

rom1v commented Jul 19, 2018

It would be interesting to know the real bitrate of the video, because obviously, it does not match the requested value.

Unfortunately, I don't know how to do that on Windows. On Linux, you would start the server manually and use netcat+pv to measure the bitrate received on the socket.

@rom1v
Copy link
Collaborator

rom1v commented Jul 19, 2018

scrcpy.exe -b 20m seems to be a very happy medium for my device.

Over usb or wifi?

@XxTWMLxX
Copy link
Author

@rom1v using wifi. i rarely use my usb actually. just noticed originally it was pixely over both wifi/usb.

for now marking this as fixed,
and when i get more time i will test usb and see if i can find bitrate actually used.

thank you for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants