[FFmpeg-cvslog] lavc/qsvdec: Add vvc_mp4toannexb bsf for QSV VVC decoder
Fei Wang
git at videolan.org
Fri Aug 16 09:16:44 EEST 2024
ffmpeg | branch: master | Fei Wang <fei.w.wang at intel.com> | Thu Aug 15 10:19:50 2024 +0800| [be7ab635522adf1331a2aa105a49045ba8e65192] | committer: Haihao Xiang
lavc/qsvdec: Add vvc_mp4toannexb bsf for QSV VVC decoder
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>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=be7ab635522adf1331a2aa105a49045ba8e65192
---
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
More information about the ffmpeg-cvslog
mailing list