Hi. You can set the max_index_size member of AVFormatContext to 0 if you do not > want the index to grow in memory during decoding. I got this feature > accepted into FFmpeg when I was having a problem decoding MPEG2-PS in a > continuous stream, and there was no way to avoid the memory usage gradually > increasing over time. Not sure if it's a similar problem to the one that led > to this discussion, but might be relevant. > > The problem is visible during MPEG4 writing from a live source, where the index is kept in RAM for the entire writing session.
Thanks any way for the suggestion. Regards. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
