bilibili / bilibili/ijkplayer

关于ios ffmpeg与ijkplayer同时使用时会出现异常的问题

Open
#3,136 1 comment 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

我在同一个项目中同时使用了ffmpeg与ijkplayer 。ffmpeg用来直播。ijkplayer用来播放视频,分开来使用都是正常的,但是我把这两个库加入到同一项目之后,播放视频的时候出现了很多异常输出,且播放无法正常退出,一直输出下面的
PACKET SIZE: 462728, STRIDE: 964
Clipping frame in rate conversion by 0.091454
Sending NAL 1 of len 3607 M=1
NAL size 3607 > 1460
PACKET SIZE: 462728, STRIDE: 964
Clipping frame in rate conversion by 0.091942
Sending NAL 1 of len 4787 M=1
NAL size 4787 > 1460
PACKET SIZE: 462728, STRIDE: 964
Clipping frame in rate conversion by 0.092369
Sending NAL 1 of len 5494 M=1
NAL size 5494 > 1460
PACKET SIZE: 462728, STRIDE: 964
Clipping frame in rate conversion by 0.092796
Sending NAL 1 of len 4287 M=1
NAL size 4287 > 1460
另外。我的ffmpeg是使用https://github.com/applexiaohao/FFmpeg-iOS-build-script 这个编译的,因为ijkplay的编译脚本我无法加入avfoundation。请问我如何解决这个冲突问题,或者如何在ijk的编译脚本里面加入avfoundation选项呢

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the FFmpeg-iOS-build-script with ijkplayer's build scripts, focusing on how each library is configured for iOS and AVFoundation. Reproduce the integration with both libraries in one project and determine whether playback can exit normally without the repeated packet, NAL, and frame-conversion output.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, ios
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.