Code Monkey home page Code Monkey logo

Comments (4)

rom1v avatar rom1v commented on August 20, 2024

What is the full output in the console?

Does it work better with another encoder?

Or without audio (scrcpy --no-audio)?

from scrcpy.

H3RBSKI avatar H3RBSKI commented on August 20, 2024

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.

rom1v avatar rom1v commented on August 20, 2024

[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.

H3RBSKI avatar H3RBSKI commented on August 20, 2024

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)

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.