[FFmpeg-devel] MPEG-PS demuxer index memory usage[PATCH]

Michael Niedermayer michaelni
Sat Jan 12 20:00:34 CET 2008

On Sat, Jan 12, 2008 at 03:27:25PM +0000, Paul Kelly wrote:
> On Mon, 7 Jan 2008, Michael Niedermayer wrote:
> I'm actually more in favour of 
> Michel's patch now than my own: after having done a bit of work on this I 
> see that whether the index size should be limited or not is really a matter 
> for the individual demuxers, 

yes and no
If you have a very large file and little memory limiting the index makes
sense as well. Of course only if the demuxer can handle an incomplete index.
So i think both patches are interresting, they handle slightly different

> as they may use it in different ways. If a 
> demuxer doesn't limit the index size then that simply means it isn't 
> suitable for use with a continuous stream of input data, but in many cases 
> I guess that might not matter as it would not be possible anyway for 
> various format-specific reasons?

Yes, .mov/.mp4 has a index which must contain all entries, they cannot
be continuously added during playback.

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080112/53229ac3/attachment.pgp>

More information about the ffmpeg-devel mailing list