avformat_alloc_context returns null
avformat_alloc_context returns null
我目前正在尝试通过FFMPEG播放流中的视频。然而,我目前被困在一个特定的部分:无论我做什么,avformat_alloc_context();
似乎都返回null。
有人可能知道会发生什么吗?
我一直在引用下面的链接:使用libavformat 读取内存中的文件
1调用av_register_all()
fistart。(初始化libavformat并注册所有复用器、解复用器和协议(
2检查像avformat_open_input(&pFormatCtx, file_name, NULL, NULL)
这样的代码,是否返回not-如果是,pFormatCtx
返回nil;
相关文章:
- gdk_screen_get_default() returns null
- FindClass returns null
- SDL_ttf TTF_OpenFont returns NULL
- PKCS7_sign returns null
- C++ CreateWindowEx returns NULL
- wglGetProcAddress returns NULL
- cvCaptureFromCAM(CV_CAP_ANY) returns NULL
- gethostbyaddr() returns null
- glfwCreateWindow returns NULL
- CreateWindowEx returns NULL
- CreateFileMapping() returns null
- C++ LoadLibrary Returns Null
- Jni FindClass returns NULL
- SDL/TTF: TTF_RenderText_Blended_Wrapped returns NULL
- osg::GraphicsContext::WindowingSystemInterface returns null
- JNI- FindClass returns null
- VFW: AVIStreamGetFrameOpen() returns NULL
- engOpen returns Null
- avformat_alloc_context returns null
- TinyXML2 returns Null?