Message ID | 20240813080156.83113-1-fei.w.wang@intel.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] lavc/qsvdec: Add vvc_mp4toannexb bsf for QSV VVC decoder | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
On Di, 2024-08-13 at 16:01 +0800, fei.w.wang-at-intel.com@ffmpeg.org wrote: > From: Fei Wang <fei.w.wang@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@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. Thanks Haihao
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@ffmpeg.org wrote: > > From: Fei Wang <fei.w.wang@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@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 >
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