My application receives the MPEG-2 Transport Stream from a DVB-S card via its 
specific API and stores parts of it to a disk in MPEG2 Program Stream.

I have emulated every 1000th packet loss in my application.

Looks like in this conditions, libav* functions stored everything in memory and 
began actually write data to disk after av_write_trailer() call

Am I correct?

If yes, this behavior is not very satisfying, as the application, saving one 
program took about 250Mb in memory after 10 minutes.

I am afraid, if try to save several programs, I very quickly run out of memory.

How could I change this?

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to