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

Why AV1 Encoder so laggy? #5681

Closed
Deathphobia11 opened this issue Dec 17, 2024 · 3 comments
Closed

Why AV1 Encoder so laggy? #5681

Deathphobia11 opened this issue Dec 17, 2024 · 3 comments

Comments

@Deathphobia11
Copy link

Deathphobia11 commented Dec 17, 2024

Environment

  • OS: Windows 11 23H2
  • Scrcpy version: 3.1
  • Installation method: Windows release
  • Device model: TECNO POVA 6 Pro 5G
  • Android version: 14

Describe the bug

My device can run smoothly on H.265 bitrate 16M but AV1 absolutely lag and very much latency.

ps. sorry for my language.

My PC
Intel i5-13500
Geforce RTX4070
RAM DDR5 16GBx2 6400Mhz

@rom1v
Copy link
Collaborator

rom1v commented Dec 17, 2024

Your device has probably no hardware encoder for AV1 (so it uses a software encoder).

Check with scrcpy --list-encoders.

@Deathphobia11
Copy link
Author

2024-12-18_010309

Thank you for your reply.

I use software encoder but still so laggy. Because my device has no hardware encoder. Right?

@rom1v
Copy link
Collaborator

rom1v commented Dec 17, 2024

Yes, your AV1 encoder is software (sw), that's why it is slow.

A software encoder for real-time mirroring in AV1 is basically unusable, unless you use a very small resolution (scrcpy --video-codec=av1 -m600), and even then it is probably slower than a hw encoder.

@rom1v rom1v closed this as completed Dec 18, 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