[FFmpeg-devel] [PATCH] Use AVBufferPool in MOV
compn
ff at hawaiiantel.net
Fri Nov 22 21:55:18 EET 2024
On Fri, 22 Nov 2024 18:46:19 +0100
Arnaud Masserann <arnaud1602 at gmail.com> wrote:
> Most demuxers allocate a new buffer for each packet.
> For MOV, this can be problematic, because of some high-bitrate
> codecs like ProRes/HAPQ/NotchLC.
>
> Use pools of buffer instead.
>
> For some test media, demuxing goes from 20ms/frame to 11ms/frame,
> close to the perf of ReadFile (10ms/frame), making it possible
> to read the media at 60Hz.
was this tested with all mov samples or just those high bitrate ones ?
i am wondering if it helps/hurts demuxing the ancient mov samples we
also support. see the nightmares here https://samples.ffmpeg.org/mov/
if hurts, i wonder if buffer pools could be used only for specific high
bitrate codecs in mov demuxer?
not important just curious. nice job on the speedup!
-compn
More information about the ffmpeg-devel
mailing list