I have a question about ffmpeg.
How I can init an AVFormatContext
in my program. I know that it's possible to make av_open_input_file
and use my AVFormatContext
as one of the parametres, but my data which I want use for decoding not in file. I get it from other components of my program as char* array. Is it possible to init AVFormatContext
struct only using this array of data.
have a look at these functions, they might be useful.
I did this with output data but not input data (My input data was raw frames grabbed from a video device). what's you input data?