mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-09-02 15:45:42 +00:00
Add support for H265
Add option --codec=h265. PR #3713 <https://github.com/Genymobile/scrcpy/pull/3713> Fixes #3092 <https://github.com/Genymobile/scrcpy/issues/3092>
This commit is contained in:
parent
3e517cd40e
commit
4342c5637d
7 changed files with 19 additions and 6 deletions
|
@ -3,7 +3,8 @@ package com.genymobile.scrcpy;
|
|||
import android.media.MediaFormat;
|
||||
|
||||
public enum VideoCodec {
|
||||
H264(0x68_32_36_34, "h264", MediaFormat.MIMETYPE_VIDEO_AVC);
|
||||
H264(0x68_32_36_34, "h264", MediaFormat.MIMETYPE_VIDEO_AVC),
|
||||
H265(0x68_32_36_35, "h265", MediaFormat.MIMETYPE_VIDEO_HEVC);
|
||||
|
||||
private final int id; // 4-byte ASCII representation of the name
|
||||
private final String name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue