安装pyav错误信息如下:
src/av/sidedata/sidedata.c: In function '__pyx_pf_2av_8sidedata_8sidedata_8SideData_2__repr__':
src/av/sidedata/sidedata.c:2717:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
__pyx_t_5 = __Pyx_PyInt_From_unsigned_int(((unsigned int)__pyx_v_self->ptr->data)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 61, __pyx_L1_error)
^
src/av/sidedata/sidedata.

本文指导如何修复在安装PyAV时遇到的编译错误,涉及版本不匹配问题,推荐在Debian 9上安装av==6.2.0以兼容系统ffmpeg库。务必注意更新ffmpeg到支持的版本以避免函数和标签查找失败。
最低0.47元/天 解锁文章
294

被折叠的 条评论
为什么被折叠?



