Comments (4)
What is the full output in the console?
Does it work better with another encoder?
Or without audio (scrcpy --no-audio
)?
from scrcpy.
C:\Users\danhe\Downloads\scrcpy-win64-v2.4\scrcpy-win64-v2.4>scrcpy --tcpip=192.168.1.182 --no-audio
scrcpy 2.4 https://github.com/Genymobile/scrcpy
INFO: Connecting to 192.168.1.182:5555...
INFO: Connected to 192.168.1.182:5555
C:\Users\danhe\Downloads\scrcpy-win64-v2.4\scrcpy-win64-v2... file pushed, 0 skipped. 56.5 MB/s (69007 bytes in 0.001s)
[server] INFO: Device: [NVIDIA] NVIDIA SHIELD Android TV (Android 11)
INFO: Renderer: direct3d
tried the h26 encoder but same issue
INFO: Connecting to 192.168.1.182:5555...
INFO: Connected to 192.168.1.182:5555
C:\Users\danhe\Downloads\scrcpy-win64-v2.4\scrcpy-win64-v2... file pushed, 0 skipped. 71.8 MB/s (69007 bytes in 0.001s)
[server] INFO: Device: [NVIDIA] NVIDIA SHIELD Android TV (Android 11)
[server] ERROR: Could not create default audio encoder for opus
List of audio encoders:
--audio-codec=aac --audio-encoder='OMX.google.aac.encoder'
--audio-codec=flac --audio-encoder='OMX.google.flac.encoder'
[server] ERROR: Video encoder 'OMX.qcom.video.encoder.avc' for h264 not found
List of video encoders:
--video-codec=h264 --video-encoder='OMX.Nvidia.h264.encoder'
--video-codec=h264 --video-encoder='OMX.google.h264.encoder'
--video-codec=h265 --video-encoder='OMX.Nvidia.h265.encoder'
[server] ERROR: Exception on thread Thread[audio-encoder,5,main]
java.lang.IllegalArgumentException: Failed to initialize audio/opus, error 0xfffffffe
at android.media.MediaCodec.native_setup(Native Method)
at android.media.MediaCodec.(MediaCodec.java:2117)
at android.media.MediaCodec.createEncoderByType(MediaCodec.java:2042)
at com.genymobile.scrcpy.AudioEncoder.createMediaCodec(AudioEncoder.java:289)
at com.genymobile.scrcpy.AudioEncoder.encode(AudioEncoder.java:181)
at com.genymobile.scrcpy.AudioEncoder.lambda$start$0$com-genymobile-scrcpy-AudioEncoder(AudioEncoder.java:121)
at com.genymobile.scrcpy.AudioEncoder$$ExternalSyntheticLambda1.run(Unknown Source:4)
at java.lang.Thread.run(Thread.java:923)
ERROR: "adb reverse --remove" returned with value 1
ERROR: Could not retrieve device information
ERROR: Server connection failed
from scrcpy.
[server] INFO: Device: [NVIDIA] NVIDIA SHIELD Android TV (Android 11)
INFO: Renderer: direct3d
It seems the encoder does not produce any frame.
Could you please test scrcpy v2.0, v2.1, v2.2, v2.3… in case a change caused a regression for the NVIDIA Shield?
from scrcpy.
just tried and still same issues. it was working perfectly for a few weeks up until last night then it just d/c mid connection and now it wont display anything. device hasnt had any updates etc either
from scrcpy.
Related Issues (20)
- scrcpy always copies server binary to device? HOT 1
- Foldable phone get deviceSize error
- Android 14 cannot be operated using a mouse. HOT 1
- Having error with scrcpy HOT 1
- Scrcpy 2.6 cannot use mouse operation on Android 14. HOT 2
- 2.6 mouse issues HOT 13
- 2.6版本某些app不能点击 HOT 8
- scrcpy 2.6 crash (error code provided) HOT 1
- i have scrpy v2.5 on samsung device android 13, SLING APP, audio, no video HOT 2
- Inspecting the "local" `.pc` files it seemed the culprit was found. HOT 1
- OBS broadcast into my android's camera. HOT 3
- FPS doesn't surpass 60 on a 120 capable device when device screen is turned off (-S is passed) HOT 1
- I Cannot Enable USB Debugging (Security Setting) on POCO X6 HOT 1
- cannot start the APPS SCRCPY on device ROG8 HOT 13
- compatibility with samsung dex en debian 12 arm chromebooks
- Cannot connect to two devices wirelessly at the same time or specify port HOT 19
- WiFi 端口号 总是变化 WiFi port number always changes HOT 1
- I have written a script for Scrcpy. Can facilitate the practicality of Scrcpy.
- Scrcpy crashed when run via adb shell HOT 2
- Unable to utilize -S parameter to turn screen off, alt+o also does not work. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scrcpy.