Opened 3 years ago

Closed 3 years ago

#5324 closed defect (fixed)

h264_qsv error on 4th generation Haswell-DT

Reported by: Zeranoe Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: qsv regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

When attempting to use the h264_qsv encoder on an Intel i7-4790K I run into:

[h264_qsv @ 00000000070df020] Initialized an internal MFX session using software implementation
[h264_qsv @ 00000000070df020] Using the constant quantization parameter (CQP) ratecontrol method
[h264_qsv @ 00000000070df020] Error retrieving encoding parameters.

This issue was introduced with 4d8f536b535487063a08609636e712ad86d2ad54

Reproducing command was:

ffmpeg -v verbose -i in.mp4 -c:v h264_qsv -b:v 2M -an -y out.mp4

MFXVideoENCODE_GetVideoParam() in libavcodec/qsvenc.c is returning -3 (MFX_ERR_UNSUPPORTED) and is triggering ff_qsv_error(ret).

Change History (2)

comment:1 Changed 3 years ago by cehoyos

  • Keywords regression added; h264_qsv mfx removed

comment:2 Changed 3 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.