On Tue, Oct 6, 2009 at 12:55 AM, Sébastien Escudier <sebastien-de...@celeos.eu> wrote:
> Quoting Ross Finlayson <finlay...@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. > If you're really serious about writing MP4/MOV files, I would not use Live555 code for that (Live555 is "Source-code libraries for standards-based RTP/RTCP/RTSP/SIP multimedia streaming"; it is not an MP4/MOV container library). Rather, I'd consider something like mp4v2, or ffmpeg's container code.
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel