gpt4 book ai didi

matlab - OpenCV 错误 : [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls

转载 作者:行者123 更新时间:2023-12-04 23:28:51 26 4
gpt4 key购买 nike

我根据官方指南在Ubuntu中安装了OpenCV,然后我试图解码一个文件,然后出现错误:

[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!

视频大约150帧,错误日志可能超过1000,有人可以帮我吗?谢谢。

最佳答案

升级 FFmpeg 库。旧版本有一个缓冲区限制,似乎在当前 git 版本中被删除。

它曾经是:

#define MAX_BUFFERS (32+1)

...

if (p->num_released_buffers >= MAX_BUFFERS) {
av_log(p->avctx, AV_LOG_ERROR, "too many thread_release_buffer calls!\n");
return;
}

见旧 libavcodec/pthread.cnew version 相比同一个文件。

关于matlab - OpenCV 错误 : [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29995917/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com