Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复切换音轨崩溃与音视频不同步问题 #5366

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

修复切换音轨崩溃与音视频不同步问题 #5366

wants to merge 4 commits into from

Conversation

xufuji456
Copy link

@xufuji456 xufuji456 commented Dec 3, 2021

目前是相同音轨也执行切换,导致后续切换崩溃。
另外,切换音轨后音频时钟没有校正,存在音视频不同步。

关联issue:
#509
#728
#1023
#3811
#3964
#4443

处理方案:判断stream id,相同音轨不执行切换;
切换后seek回上一个关键帧,来校正音频时钟,做音视频同步播放。

@360060316
Copy link

不错,问题解决了

@dlisagod
Copy link

我也遇到这个问题,是不是把原来的文件换成你的这个再编译就可以了

@dlisagod
Copy link

dlisagod commented Sep 4, 2023

谢谢,非常有用

TsubakiDev added a commit to TsubakiDev/ijkplayer that referenced this pull request May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants