Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Avisos
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Re: Enabling EncTools h264 in oneVPL

Max_Gud
Nuevo Colaborador I
8.611 Vistas

In order not to create a new topic, can I ask one more question?
The question concerns the CO3.ScenarioInfo parameter.
When researching the code in the oneVPL-gpu repository, I found that setting SCENARIO_GAME_STREAMING and Lookahead depth > 0 is acceptable for the AV1 codec, this should include additional frame processing and give a better image. But I ran into the problem that when installing Scenario GAME_STREAMING and LA > 0, I get the MFX error NULL_PTR (-3) both with the AV1 codec and with any other codec, could you help me figure out this issue?

0 kudos
31 Respuestas
Max_Gud
Nuevo Colaborador I
2.163 Vistas

Where and how can I get the necessary logs?
I use Windows

DiyaN_Intel
Moderador
2.132 Vistas

Hi, 

 

Sorry for the delay.

We are trying to debug the issue at our end and working on this internally. We will get back to you with an update soon.

 

Regards, 

Diya

 

Max_Gud
Nuevo Colaborador I
2.095 Vistas

The latest update of the 4885 driver fixed the problem with MFX_SCENARIO_GAME_STREAMING, did not disrupt the work of ExtBRC, now when installing ExtBRC together with LookaheadDepth and without specifying MFX_SCENARIO_GAME_STREAMING causes an error -15

DiyaN_Intel
Moderador
2.053 Vistas

Hi, 


Thank you for this update.

We have informed this information to the development team and will get back to you with an update soon.


Regards,

Diya


DiyaN_Intel
Moderador
1.977 Vistas

Hi, 


Sorry for the delay in response.


We have tried to reproduce the issue from our end and found out few things:

The flags work on some platforms, but not on others. Here is what we have come to a conclusion so far:


1. TGL Encode Init Fails on windows platform.

2. ATS-M Works on Linux platform.

3. LA and Game Streaming are not compatible on Windows,but it can work together without ExtBRC.

4. ExtBRC and MFX_SCENARIO_GAME_STREAMING are incompatible. It has to be either one or other.


We have found that there is no issue in the modified hello-encode code which you have shared, but there are certain flags which were implemented differently on different platforms.

We are working on producing documentation that will clarify what works on which platform.


If it has resolved your issue, make sure to accept this as a solution. 

This would help others with similar issue. Thank you!


Regards, 

Diya



Max_Gud
Nuevo Colaborador I
1.962 Vistas

@DiyaN_Intel wrote:

Hi, 

 

Sorry for the delay in response.

 

We have tried to reproduce the issue from our end and found out few things:

The flags work on some platforms, but not on others. Here is what we have come to a conclusion so far:

 

1. TGL Encode Init Fails on windows platform.

2. ATS-M Works on Linux platform.

3. LA and Game Streaming are not compatible on Windows,but it can work together without ExtBRC.

4. ExtBRC and MFX_SCENARIO_GAME_STREAMING are incompatible. It has to be either one or other.

 

We have found that there is no issue in the modified hello-encode code which you have shared, but there are certain flags which were implemented differently on different platforms.

We are working on producing documentation that will clarify what works on which platform.

 

If it has resolved your issue, make sure to accept this as a solution. 

This would help others with similar issue. Thank you!

 

Regards, 

Diya

 



3. No, they work perfectly together on Windows without causing errors on all codecs, but the quality drops significantly compared to the mode without LA.

4. True, but not completely.
The HEVC + ExtBRC + LA without using MFX_SCENARIO_GAME_STREAMING works without problems.
The AVC + ExtBRC + LA codec does not work without Scenario - an error occurs at the oneVPL encoder initialization stage, while the Query function does not detect errors. The AVC codec with LA works when using Scenario, but the quality drops significantly compared to the mode without LA.
The AV1 + ExtBRC + LA codec does not work without Scenario - the encoding process begins, but after 1 encoded GOP, the encoding freezes and the recording bitrate becomes 0, but if you turn off ExtBRC, then LA works.
The initialization problem is only using the AVC + ExtBRC+ LA codec. Please fix the ExtBRC for the AVC and AV1 codecs!

DiyaN_Intel
Moderador
1.879 Vistas

Hi, 


Thank you for your valuable insights.

We will try to look into it and get back to you with an update soon.


Regards,

Diya


DiyaN_Intel
Moderador
1.858 Vistas

Hi, 

 

Thank you for your patience.

We came up with the answers to your doubts:

 

>>LA and Game Streaming are not compatible on Windows, but they can work together without ExtBRC

No, they work perfectly together on Windows without causing errors on all codecs, but the quality drops significantly compared to the mode without LA.

 

You are correct, they can be used together but when we say they are not compatible, we mean we do not optimize them as a pair, so you may experience undesired results. Hence, the drop in quality.

 

>>ExtBRC and MFX_SCENARIO_GAME_STREAMING are incompatible. It has to be either one or the other.

True, but not completely.

 

Thank you for the clarifications. As stated above, incompatible means you may experience undesired results. We appreciate you outlining the results precisely. This may be super helpful to others. Also, we plan to document this. Just as with the Intel compilers and our performance libraries, there are options that don't work well together. We appreciate that you brought these to our attention so that we seek more details from the developers that we can pass on to our users.

 

Can you please confirm whether we can go forward and close this thread?

 

If this resolves your issue, make sure to accept this as a solution. 

This would help others with similar issues. Thank you!

 

Thanks and Regards, 

Diya

 

DiyaN_Intel
Moderador
1.809 Vistas

Hi, 


Good day to you.

We have not heard back from you.

Is your issue resolved with the above solution?

If this resolves your issue, make sure to accept this as a solution. 

This would help others with similar issue. Thank you!


Thanks and Regards, 

Diya


Max_Gud
Nuevo Colaborador I
1.792 Vistas

Hi! Nothing has changed at the moment, ExtBrc still does not work with LA on AVC and AV1 codecs. I suggest waiting for new drivers with OneVPL 2.10 support to see what changes it will bring.

mikk
Principiante
1.667 Vistas

With old drivers LA worked without extbrc and game_streaming on Arc AV1, for what reason did they disable it?

 

For best quality with AV1 CBR you want adapt-cqm, LA 40-100, bframes 3 or 7, game_streaming. Sometimes i-adapt helps as well. Gop 250 for best quality, for shorter seeking gop 107 is a good choice.

Responder