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

add ffmpeg mediacodec h264/h265 encode #8028

Merged
merged 1 commit into from
May 13, 2024
Merged

Conversation

21pages
Copy link
Collaborator

@21pages 21pages commented May 13, 2024

  • Check available when app start from kotlin via get codec info
  • For latency free, repeat encode 10 frame at most when capture return WouldBlock
  • For changing quality, kotlin support but jni doesn't support, rerun video service when quality is manualy changed
  • 3 or 6 times bitrate for mediacodec because its quality is poor
h264_h265.mp4
quality-change.mp4
repeat-encode.mp4

* Check available when app start from kotlin via get codec info
* For latency free, repeat encode 10 frame at most when capture return WouldBlock
* For changing quality, kotlin support but jni doesn't support, rerun video service when quality is manualy
  changed
* 3 or 6 times bitrate for mediacodec because its quality is poor

Signed-off-by: 21pages <pages21@163.com>
@rustdesk rustdesk merged commit a7499c2 into rustdesk:master May 13, 2024
19 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants