bilibili / bilibili/ijkplayer

部分手机录制的视频不支持旋转

Open
#2,995 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
33.2k
Forks
8.2k
PR merge metrics
No merged PRs in 30d

Description

录制的时候 设置了旋转90度,大部分手机播放正常。
华为荣耀6,播放的时候旋转不正常。
mediacodec mediacodec-auto-rotate 都设置的1

用TextureView能正常旋转,用SurfaceView不能正常旋转。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the 90-degree rotation case on a Huawei Honor 6, comparing SurfaceView with TextureView and checking the reported mediacodec and mediacodec-auto-rotate settings. Done means recordings rotate correctly through SurfaceView on the affected phone without breaking playback on the other devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.