[FFmpeg-devel] [PATCH] avcodec/libaomenc: Extract extradata directly if available

Andriy Gelman andriy.gelman at gmail.com
Sat Sep 12 22:49:49 EEST 2020


On Sat, 12. Sep 14:00, James Almer wrote:
> On 9/12/2020 1:32 PM, Derek Buitenhuis wrote:
> > On 12/09/2020 16:48, James Almer wrote:
> >> No, see https://bugs.chromium.org/p/aomedia/issues/detail?id=2208
> >>
> >> aom_codec_get_global_headers() has a bug that hasn't been fixed. That's
> >> why i haven't implemented it yet in our wrapper.
> > 
> > Even if fixed, shouldn't be still use the BSF anyway, since it could
> > also add in other useful config OBUs like HDR metadata OBUs?
> 
> I'd expect aom_codec_get_global_headers() to return all OBUs that apply
> to the entire coded stream, hence the name, so that should include
> Metadata OBUs like HDR (but not frame specific ones like ITU-T 35).
> 
> But if it doesn't then yeah, we wouldn't be able to remove the extract
> extradata bsf here.
> 

They only write the sequence header OBU at the moment.

-- 
Andriy


More information about the ffmpeg-devel mailing list