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

What does this error mean? it does not work on my device #3278

Open
2 tasks done
nssiwi opened this issue May 19, 2022 · 1 comment
Open
2 tasks done

What does this error mean? it does not work on my device #3278

nssiwi opened this issue May 19, 2022 · 1 comment

Comments

@nssiwi
Copy link

nssiwi commented May 19, 2022

  • I have read the FAQ.
  • I have searched in existing issues.

Environment

  • OS: Windows
  • scrcpy version: 1.24
  • installation method: Windows release
  • device model: Allwinner A40
  • Android version: Android 7.1.1

Describe the bug
i am sure there was just one device/emulator connected, so what dose these outputs mean?

C:\Users\John>scrcpy
scrcpy 1.24 <https://github.com/Genymobile/scrcpy>
D:\Program Files\scrcpy-win64\scrcpy-server: 1 file pushed, 0 skipped. 71.1 MB/s (41159 bytes in 0.001s)
adb.exe: error: more than one device/emulator
ERROR: "adb reverse" returned with value 1
WARN: 'adb reverse' failed, fallback to 'adb forward'
[server] INFO: Device: Allwinner A40 (Android 7.1.1)
INFO: Renderer: direct3d
INFO: Initial texture: 1920x1080
ERROR: Could not send video packet: -1094995529
ERROR: Could not send config packet to sink 0
ERROR: Could not process packet
WARN: Device disconnected

C:\Users\John>adb logcat -s scrcpy
--------- beginning of main
--------- beginning of system
05-19 21:27:29.389 26821 26821 I scrcpy  : Device: Allwinner A40 (Android 7.1.1)
05-19 21:27:30.831 27059 27059 I scrcpy  : Cleaning up
05-19 21:27:30.837 27059 27059 I scrcpy  : Restoring normal power mode
05-19 21:29:27.064  9030  9030 I scrcpy  : Device: Allwinner A40 (Android 7.1.1)
--------- beginning of crash
05-19 21:29:29.067  9203  9203 I scrcpy  : Cleaning up
05-19 21:29:29.082  9203  9203 I scrcpy  : Restoring normal power mode
05-19 21:34:09.621 10669 10669 I scrcpy  : Device: Allwinner A40 (Android 7.1.1)
05-19 21:34:11.041 10847 10847 I scrcpy  : Cleaning up
05-19 21:34:11.047 10847 10847 I scrcpy  : Restoring normal power mode
05-19 21:50:53.215  1489  1489 I scrcpy  : Device: Allwinner A40 (Android 7.1.1)
05-19 21:50:54.647  1776  1776 I scrcpy  : Cleaning up
05-19 21:50:54.653  1776  1776 I scrcpy  : Restoring normal power mode
@rom1v
Copy link
Collaborator

rom1v commented May 19, 2022

adb.exe: error: more than one device/emulator
ERROR: "adb reverse" returned with value 1
WARN: 'adb reverse' failed, fallback to 'adb forward'

i am sure there was just one device/emulator connected, so what dose these outputs mean?

This is not really a blocking error, it's just a bug in old version of Android where adb reverse could not work over TCP/IP (you're probably connected over wifi). scrcpy fallbacks to adb forward in that case, so you could ignore this message. See #5.

ERROR: Could not send video packet: -1094995529

This is the real error:

$ printf '%x' 1094995529 | xxd -r -p | rev
INDA

This is AVERROR_INVALIDDATA: it seems the your encoder on the device does not produce valid data according to FFmpeg.

You should try with another encoder: https://github.com/Genymobile/scrcpy#encoder

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