Message ID | 20240815021950.138908-1-fei.w.wang@intel.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,v2] 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 Do, 2024-08-15 at 10:19 +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> > --- > configure | 2 +- > libavcodec/qsvdec.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/configure b/configure > index 37178d7d81..ad82bc2d1f 100755 > --- a/configure > +++ b/configure > @@ -3427,7 +3427,7 @@ vp9_vaapi_encoder_select="vaapi_encode" > vp9_qsv_encoder_deps="libmfx MFX_CODEC_VP9" > vp9_qsv_encoder_select="qsvenc" > vp9_v4l2m2m_decoder_deps="v4l2_m2m vp9_v4l2_m2m" > -vvc_qsv_decoder_select="qsvdec" > +vvc_qsv_decoder_select="vvc_mp4toannexb_bsf qsvdec" > > # parsers > aac_parser_select="adts_header mpeg4audio" > 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 Pushed, Thanks Haihao
diff --git a/configure b/configure index 37178d7d81..ad82bc2d1f 100755 --- a/configure +++ b/configure @@ -3427,7 +3427,7 @@ vp9_vaapi_encoder_select="vaapi_encode" vp9_qsv_encoder_deps="libmfx MFX_CODEC_VP9" vp9_qsv_encoder_select="qsvenc" vp9_v4l2m2m_decoder_deps="v4l2_m2m vp9_v4l2_m2m" -vvc_qsv_decoder_select="qsvdec" +vvc_qsv_decoder_select="vvc_mp4toannexb_bsf qsvdec" # parsers aac_parser_select="adts_header mpeg4audio" 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