[Live-devel] Stack overflow in QuickTimeFileSink

Sébastien Escudier sebastien-devel at celeos.eu
Mon Oct 5 23:55:08 PDT 2009


Quoting Ross Finlayson <finlayson at live555.com>:

> >I don't seem to get the stack overflow anymore, but something tells
> >me if this records for a while and all of these chunks are kept in
> >memory, then it'll blow up pretty soon.
>
> Yes, and unfortunately there's not a lot we can do about this,
> because of the stupid brain-damaged way in which the ".mov" (and
> ".mp4") file formats was designed.

what do you call "for a while" ?
I don't know .mov files, but for .mp4 files, your file will become way too big
before you run out of memory because of chunks and frames informations kept in
memory.
You should consider splitting your files after a few hours of recording.



More information about the live-devel mailing list