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

使用testPlayer循环播放HEVC 4K视频会报错。 #66

Open
liquanguo opened this issue Oct 27, 2022 · 4 comments
Open

使用testPlayer循环播放HEVC 4K视频会报错。 #66

liquanguo opened this issue Oct 27, 2022 · 4 comments

Comments

@liquanguo
Copy link

声明:源码只是修改了让testplayer自动判断m_strUrl不为空的时候自动播放m_strUrl的视频文件,其他的一律没有修改。

测试使用的HEVC 4K视频 :链接:https://pan.baidu.com/s/17NHZO-p9bamlyRVgdBREgA?pwd=1234
提取码:1234

使用自带的测试例子testplayer播放HEVC/H265的4K视频,在硬解码多次循环播放后,硬解失败,报错如下:
Failed to add bitstream or slice control buffer
hardware accelerator failed to decode picture
an error occurred during decoding video.
Failed to add bitstream or slice control buffer
hardware accelerator failed to decode picture
an error occurred during decoding video.
Could not find ref with POC 33

ps:可能不同的PC环境出现报错有快慢,在我realme笔记本上,播放个50次就出现了(测试的视频为13秒总时长)。
因为不知道如何定位这个问题,所以求助大伙,谢谢。

@rockcarry
Copy link
Owner

把 testplayer 修改的代码提个 pull request 上来。这个修改是否可以做到自动化的复现,而不是需要人手动去重复打开 50 次?

@liquanguo
Copy link
Author

把 testplayer 修改的代码提个 pull request 上来。这个修改是否可以做到自动化的复现,而不是需要人手动去重复打开 50 次?

提交了PR

@rockcarry
Copy link
Owner

rockcarry commented Oct 30, 2022

测了一整天,暂时无法复现问题。

@liquanguo
Copy link
Author

liquanguo commented Oct 31, 2022 via email

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

No branches or pull requests

2 participants