bilibili / bilibili/ijkplayer

iOS 播放4k分辨率mp4视频(2Mbps、5Mbps),无论本地和远程均会出现严重卡顿,option配置如下:

Open
#3,968 2 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

[options setPlayerOptionIntValue:30 forKey:@"max-fps"]; [options setPlayerOptionIntValue:0 forKey:@"framedrop"]; [options setPlayerOptionIntValue:3 forKey:@"video-pictq-size"]; [options setPlayerOptionIntValue:960 forKey:@"videotoolbox-max-frame-width"]; [options setFormatOptionIntValue:0 forKey:@"auto_convert"]; [options setFormatOptionIntValue:1 forKey:@"reconnect"]; [options setFormatOptionIntValue:30 * 1000 * 1000 forKey:@"timeout"]; [options setFormatOptionValue:@"ijkplayer" forKey:@"user-agent"]; [options setPlayerOptionIntValue:31457280 forKey:@"max-buffer-size"]; [options setPlayerOptionIntValue:0 forKey:@"infbuf"]; [options setPlayerOptionIntValue:1 forKey:@"packet-buffering"]; [options setPlayerOptionIntValue:1 forKey:@"videotoolbox"];

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the severe stuttering with local and remote 4K MP4 files on iOS using the listed player and format options, especially VideoToolbox-related settings. Compare behavior across the supplied 2 Mbps and 5 Mbps cases; done means smooth playback under those conditions or a documented, reproducible diagnosis.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
audio-video-rtc, 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.