MFX_ERR_UNDEFINED_BEHAVIOR after update of graphics driver.

MFX_ERR_UNDEFINED_BEHAVIOR after update of graphics driver.


I encode the same stream in a cycle. Each time I call MFXVideoENCODE_Init and MFXVideoENCODE_Close. I use auto selection of any hardware implementation (MFX_IMPL_HARDWARE_ANY).

Stream info:
width = 320
height = 240
FourCC = YV12
56 frames

For example:

int total_frame_cnt = 0; //total count of encoded frames
Encode 56 frames...
total_frame_cnt += 56;

After update of Processor Graphics 2000 to version MFXVideoENCODE_Init returns MFX_ERR_UNDEFINED_BEHAVIOR when total_frame_cnt = 114632.

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.



Thanks for letting us know. We will investigate it.


Hi Marina,

this has been confirmed to be an issue when using an HW accelerated session. We will work to get this resolved as soon as possible.

As a workaround you can instead close the session and create a new one for each encoding workload.


Leave a Comment

Please sign in to add a comment. Not a member? Join today