[FFmpeg-devel] mov demuxer index memory usage
jabin yan
jyan
Tue May 12 05:50:38 CEST 2009
Thanks Fran?ois for the feedback.
As mov_build_index() is only called by mov_read_trak(), is there any
possible to avoid calling mov_read_trak()?
Like change some properties of the media file.
And I found Michael had said that .mov/.mp4 (does include 3gp??) must
have an index which contains all entries in topic:
https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-January/040516.html
As a ffmpeg's beginner, I look forward to getting more
comments/advices before changing the code.
Thanks,
Jabin
On Mon, May 11, 2009 at 8:04 PM, Fran?ois Revol <revol at free.fr> wrote:
>> Hi,
>>
>> Mov demuxer builds an index containing all entries for one stream,
>> which normally takes about 7MB memory for one 2hours' movie (.3gp
>> file, mpeg4 video, aac audio in my case).
>>
>> Considering the memory limitation in my environment, one requirement
>> comes up -- have to control the index memory size by max_index_entry,
>> like mpeg-ps demuxer does.
>>
>> Would any expert provide any advice?
>>
>
> You'll probably have to submit a patch for this...
> Theoretically it should be possible to rebuild part of it when seeking.
> I'm not sure pure streaming needs the index or not, didn't dig the mov
> code for long time.
>
> Fran?ois.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list