[FFmpeg-devel] [PATCH] libavformat/mov.c: Added configuration flag to skip cover art atom while opening mov parser

Hendrik Leppkes h.leppkes at gmail.com
Sat Apr 23 12:06:12 EEST 2022


On Fri, Apr 22, 2022 at 4:30 PM Malviya, Janpriya
<Janpriya_Malviya at bose.com> wrote:
>
> Hi Derek,
>
> We require to add this configuration for the following reasons :
> - We have our own pipeline mechanism to download & fetch audio data from source.
> - We are using ffmpeg with custom IO callbacks for parsing & decoding fragmentedMP4 streams.
> - Inside the custom IO read operation we are asking to download data from upstream elements.
> - If any stream contains a cover page ( e.g. image file ) then the custom io read call-back issues a read request with large buffer size ( which is obvious ) . On the other side , our source downloader is unable to handle a data request of  that size because of buffer constraints.
> - To integrate FFmpeg with our architecture , we added this flag to issue skip for cover page from parsing
>
> Let me know what you think.

This sounds like you are solving a very specific problem in your
environment, coming from your software stack and setup, in a generic
library.
I fail to see the use for anyone else.

- Hendrik


More information about the ffmpeg-devel mailing list