Reading a file located in memory with libavformat
It’s funny how I always find the solution by myself right after I post the question on this site, even though I’ve been working on this problem for hours. In fact you have to initialize avFormatContext->pb before calling av_open_input, and pass to it a fake filename. This is not written in the documentation but in … Read more