[FFmpeg-devel] [PATCH v2 0/4] Add hevc alpha layer decoding basic support

Anton Khirnov anton at khirnov.net
Thu Mar 2 12:11:29 EET 2023


Quoting zhilizhao(赵志立) (2023-02-28 10:00:15)
> 
> > On Jan 6, 2023, at 23:52, Zhao Zhili <quinkblack at foxmail.com> wrote:
> > 
> > From: Zhao Zhili <zhilizhao at tencent.com>
> > 
> > v2:
> > 1. Check vps_max_layers and vps_max_layer_id inside hevc decoder
> > 2. Add hevc_extract_layer bsf to do the job rather than modifing hevc_metadata,
> > 3. Check vps_max_layers_minus1 and vps_max_layer_id inside bsf
> > 4. Update vps_max_layers_minus1 and vps_max_layer_id when rewrite as base layer
> > 5. vps_extension should be updated rather than drop entirely, add a TODO
> 
> Will push soon if there's no objections.

Can't we do this without weird bitstream filtes and obscure options
leaking to the user? It's all signalled in the bitstream in a rather
straightforward way. Just extend hevcdec to decode it.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list