[Live-devel] Stack overflow in QuickTimeFileSink
Jeremy Noring
jnoring at logitech.com
Tue Oct 6 07:52:39 PDT 2009
On Tue, Oct 6, 2009 at 12:55 AM, Sébastien Escudier
<sebastien-devel at celeos.eu> wrote:
> 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.
>
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20091006/8cf58cbe/attachment.html>
More information about the live-devel
mailing list