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

ERROR: audio demuxer and video decoder problems #4923

Closed
2 tasks done
AbsoluteTakeOff opened this issue May 14, 2024 · 5 comments
Closed
2 tasks done

ERROR: audio demuxer and video decoder problems #4923

AbsoluteTakeOff opened this issue May 14, 2024 · 5 comments

Comments

@AbsoluteTakeOff
Copy link

AbsoluteTakeOff commented May 14, 2024

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

Environment

  • OS: Windows 10 64 bit version
  • scrcpy version: v2.4
  • installation method: Windows release
  • device model: BRAVIA 4K 2015
  • Android version: 8.0.0

Describe the bug
My Android TV connect perfectly via adb but there are issue with audio and video on my tv

[server] INFO: Device: [Sony] Sony BRAVIA 4K 2015 (Android 8.0.0)
[server] WARN: Audio disabled: it is not supported before Android 11
INFO: Renderer: direct3d
WARN: Demuxer 'audio': stream explicitly disabled by the device
INFO: Texture: 1920x1080
ERROR: [FFmpeg] no frame!
ERROR: Decoder 'video': could not send video packet: -1094995529
ERROR: Demuxer error
@rom1v
Copy link
Collaborator

rom1v commented May 14, 2024

ERROR: Decoder 'video': could not send video packet: -1094995529

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

The error is AVERROR_INVALIDDATA. It seems that your device encoder does not produce valid data.

Try with another encoder: https://github.com/Genymobile/scrcpy/blob/master/doc/video.md#encoder

@AbsoluteTakeOff
Copy link
Author

AbsoluteTakeOff commented May 14, 2024

ERROR: Decoder 'video': could not send video packet: -1094995529

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

The error is AVERROR_INVALIDDATA. It seems that your device encoder does not produce valid data.

Try with another encoder: https://github.com/Genymobile/scrcpy/blob/master/doc/video.md#encoder

Thanks for the help, it now shows the screen but still there is no sound. i used scrcpy --max-size=1024 command to fix my issue. and this is my console:

C:\Users\DELL\Desktop\scrcpy-win64-v2.4\scrcpy-server: 1 file pushed, 0 skipped. 23.0 MB/s (69007 bytes in 0.003s)
[server] INFO: Device: [Sony] Sony BRAVIA 4K 2015 (Android 8.0.0)
[server] WARN: Audio disabled: it is not supported before Android 11
INFO: Renderer: direct3d
WARN: Demuxer 'audio': stream explicitly disabled by the device
INFO: Texture: 1024x576

@AbsoluteTakeOff
Copy link
Author

By the way I saw this in Audio.md:

- For Android 10 or earlier, audio cannot be captured and is automatically disabled.

So I cant have audio? cuz my android tv has android 8.0.0.

@rom1v
Copy link
Collaborator

rom1v commented May 14, 2024

Correct, you can't enable audio for Android 8.

Btw, there is a warning in your logs:

[server] WARN: Audio disabled: it is not supported before Android 11

@AbsoluteTakeOff
Copy link
Author

Correct, you can't enable audio for Android 8.

Btw, there is a warning in your logs:

[server] WARN: Audio disabled: it is not supported before Android 11

Well I have a sony KD 55x8500D (BRAVIA 4K 2015), and sony stopped making updated for this model. can i just flash the TV using the google's official android 12 tv?

@AbsoluteTakeOff AbsoluteTakeOff closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2024
@AbsoluteTakeOff AbsoluteTakeOff closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2024
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