[FFmpeg-devel] [PATCH] DV muxer: reduce audio fifo size to AVCODEC_MAX_AUDIO_FRAME_SIZE
Fri Sep 11 03:38:38 CEST 2009
On 09/10/2009 05:51 PM, M?ns Rullg?rd wrote:
> Baptiste Coudurier<baptiste.coudurier at gmail.com> writes:
>> On 09/10/2009 01:12 PM, Janne Grunau wrote:
>>> after changing the fifo avaible space check to av_fifo_space, it's
>>> possible to realloc the audio fifos in the DV muxer. The default size is
>>> 100 * AVCODEC_MAX_AUDIO_FRAME_SIZE, currently 19 megabyte per stream.
>>> The short sample muxed during lavftest doesn't need to realloc the fifo
>>> from the new default size of AVCODEC_MAX_AUDIO_FRAME_SIZE. The largest
>>> realloc I've seen during testing was to 6M. Reducing the memory
>>> consumption of the DV muxer by a factor of 2 (meassured with massif).
>> The correct way to mux audio in dv is to use audio interleave code
>> mechanism in audiointerleave.c
> So is anyone planning on fixing this? Is the dv maintainer drunk
I think he's busy nowdays, I'm trying to take some time to take care of dv.
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel