[FFmpeg-devel] [PATCH] lavc/qsvdec: Add vvc_mp4toannexb bsf for QSV VVC decoder
Wang, Fei W
fei.w.wang at intel.com
Thu Aug 15 05:21:34 EEST 2024
On Wed, 2024-08-14 at 06:41 +0000, Xiang, Haihao wrote:
> On Di, 2024-08-13 at 16:01 +0800,
> fei.w.wang-at-intel.com at ffmpeg.org wrote:
> > From: Fei Wang <fei.w.wang at intel.com>
> >
> > Fix error:
> > $ ffmpeg -hwaccel qsv -i input.mp4 -f null -
> > ..
> > [vvc_qsv @ 0000026890D966C0] Error decoding stream header: unknown
> > error (-1)
> > [vvc_qsv @ 0000026890D966C0] Error decoding header
> >
> > Signed-off-by: Fei Wang <fei.w.wang at intel.com>
> > ---
> > libavcodec/qsvdec.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
> > index 9ad3439991..039ba62484 100644
> > --- a/libavcodec/qsvdec.c
> > +++ b/libavcodec/qsvdec.c
> > @@ -1303,5 +1303,5 @@ DEFINE_QSV_DECODER(av1, AV1, NULL)
> > #endif
> >
> > #if CONFIG_VVC_QSV_DECODER
> > -DEFINE_QSV_DECODER(vvc, VVC, NULL)
> > +DEFINE_QSV_DECODER(vvc, VVC, "vvc_mp4toannexb")
> > #endif
>
> Please update vvc_qsv_decoder_select in configure too.
Fixed in V2. Thanks.
--
Fei
>
> Thanks
> Haihao
>
More information about the ffmpeg-devel
mailing list