avformat

Python报错:pkg-config could not find libraries ['avformat', 'avcodec', 'avdevice', 'avutil', 'avfilter', 'swscale', 'swresample']

参考: https://github.com/PyAV-Org/PyAV/issues/238 https://pyav.org/docs/6.1.2/installation.html#mac-os-x 报错信息: C:\Users\liuxue>pip install av Collecting ......
39 pkg-config swresample libraries avformat

avformat_network_init()解析备忘

基于ffmpeg-6.0. avformat_network_init()函数定义如下: int avformat_network_init(void) { #if CONFIG_NETWORK int ret; if ((ret = ff_network_init()) < 0) return r ......

ffmpeg使用avformat_close_input()函数释放结构体时崩溃的问题

先看一下我调试时,发现程序崩溃的代码位置 //这是我的程序释放流上下文时的操作 if(m_pAvFormatContext) { //释放视频解码器上下文 if(m_iVideoStreamIndex >= 0) avcodec_free_context(&m_pVideoDecodeContext ......

avformat_open_input打开不存在的rtsp阻塞

网上很多文章,说到avformat_open_input阻塞,就设置一下 av_dict_set(&avdic, "stimeout ", "300000", 0); ffmpeg源码rtsp.c有这样一段定义 { "timeout", "set maximum timeout (in second ......
avformat_open_input avformat input open rtsp
共4篇  :1/1页 首页上一页1下一页尾页