Re: [FFmpeg-devel] [PATCH v2] hw_base_enc: inject side data to crop output for AV1

2024-10-01 Thread David Rosca
On Sat, Sep 14, 2024 at 8:59 AM Lynne via ffmpeg-devel wrote: > > Unlike H264/H265, AV1 contains no fields to crop encoded output > to specific sizes. > AMD's hardware cannot handle encoding of unaligned dimensions for > AV1, hence it codes 1920x1080 as 1920x1088. > > Add side data to crop the out

Re: [FFmpeg-devel] [PATCH v2] hw_base_enc: inject side data to crop output for AV1

2024-09-22 Thread Anton Khirnov
Quoting Lynne via ffmpeg-devel (2024-09-14 08:58:46) > @@ -551,6 +552,30 @@ int > ff_hw_base_encode_set_output_property(FFHWBaseEncodeContext *ctx, > (3 * ctx->output_delay + ctx->async_depth)]; > } > > +if ((avctx->codec_id == AV_CODEC_ID_AV1) && > +