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

Malviya, Janpriya Janpriya_Malviya at bose.com
Fri Apr 22 17:30:05 EEST 2022


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.

Regards 
Janpriya.

-----Original Message-----
From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Derek Buitenhuis
Sent: 20 April 2022 06:54 PM
To: ffmpeg-devel at ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH] libavformat/mov.c: Added configuration flag to skip cover art atom while opening mov parser

On 4/20/2022 12:39 PM, Malviya, Janpriya wrote:
> Hello ffmpeg dev team,
> Please look in attached patch.  while integrating FFmpeg we require to add "skip_cover_page" options to skip cover art atom from parsing for M4A / MP4 streams. By default values set as 0 ( False ) so it will not impact others.

Why?

- Derek
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
https://urldefense.com/v3/__https://ffmpeg.org/mailman/listinfo/ffmpeg-devel__;!!I6pijIezNA!1yHHDlJTrhDzhOKl0pzKhQjCdI7Xz9tLwffBUFRwvGDfkcYo9QqHko7Q5IXdWX3dcmxQgWIkgJL4x75FVs6l1MCHEuEzoIU8$ 

To unsubscribe, visit link above, or email ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-devel mailing list