Sorry, now I see where I am wrong. I've found the notice about -indexmem. I have the following.
AVFormatContext *input; input->nbstreams == 59; input->nbprograms == 37; Default values are: input->max_index_size == 1048576; input->max_picture_buffer == 3145728; This leads to (59*1Mb + 37*3Mb) = 178257920 (170Mb) RAM, consumed by libav functions. Right? If I set input->max_index_size = 1024*50 input->max_picture_buffer = 1024*100; input->flags|=AVFMT_NOFILE|AVFMT_FLAG_IGNIDX; how does it affect the libav memory consumption? What are minimum allowed values for these members, provided I have to capture the stream with overall rate of 30Mb/s ? I have to limit the memory, occupied by my program, as much as possible. Without running libav functions it consumes 7.5Mb. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
