Intel-Media-SDK / MediaSDK

The Intel® Media SDK
MIT License
926 stars 457 forks source link

ROI feature not work well on QSV #1904

Open lion117 opened 4 years ago

lion117 commented 4 years ago

computer

  1. intel I5-6500
  2. intel media sdk 2018-R2
  3. use hw hevc and hw h264

STATE

encoder bitrate mode state
h264 CQP work well
h264 CBR not support (-3)
hevc CQP support , but roi not work
hevc CBR support , but roi not work
lion117 commented 4 years ago

Would I provide the query Api stack info be helpful to analyse the issue?

mpushki commented 4 years ago

@lion117 maybe, please provide and we'll look at this.

lion117 commented 4 years ago

Sorry for I was late each time When I initialized encoder, this code would return -3 error 小Q截图-20200507112042

I debuged GetFirstEncoder()->Query(&m_mfxEncParams, &m_mfxEncParams) Api before run the api , the m_mfxEncParams stack was

小Q截图-20200507111743 小Q截图-20200507111752

after 小Q截图-20200507111902 小Q截图-20200507111923

daleksan commented 3 years ago

@SofyaBalandina can you continue the investigation?

sbalandi commented 3 years ago

Hi @daleksan, @egorovdanil will continue investigation this issue.

sbalandi commented 3 years ago

Hi, @lion117 , we have a sample that is support of roi - sample_multi_transcode. Maybe try to encode with it ? Will there be an error in the output?