Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vp9e: accept MFX_FRAMETYPE_IDR and MFX_FRAMETYPE_REF
MFX_FRAMETYPE_IDR or MFX_FRAMETYPE_REF can be ORed to mfxEncodeCtrl::FrameType for other codecs(e.g AV1) when calling MFXVideoENCODE_EncodeFrameAsync(), let's do the same for VP9. This makes the below command work fine. ffmpeg -hwaccel qsv -hwaccel_output_format qsv -i input.h264 -force_key_frames:v source \ -forced_idr 1 -c:v vp9_qsv -f null - Signed-off-by: Haihao Xiang <[email protected]>
- Loading branch information