Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

播放HDR视频时,画面过曝 #155

@tza17313

Description

@tza17313

描述 / Description

播放手机拍摄的HDR视频,画面会过曝;

复现步骤 / Steps to reproduce

1、使用手机拍摄视频,在设置中开启 HDRVivid 录制;
2、拍摄HDR视频;
3、上传视频到远程,然后使用RNVideo播放这个视频;

尝试修改 react-native-video/harmony/rn_video/src/main/ets/view/PlayPlayer.ets build 方法中的XComponent,将
type 设置为XComponentType.TEXTURE 后,可以使用SDR模式正常显示视频;

请问需要如何修改,才能正确地激发屏幕亮度播放HDR视频?

库版本 / Library version

5.2.2

React Native OpenHarmony version

0.72.53

构建类型 / Build type

None

设备 / Device

None

设备版本 / Device model

No response

已悉知 / Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions