Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
20603 Discussions

QuickSync get stuck after 2 reconfigurations

VK5
Beginner
1,339 Views

We have some strange issue with QuickSync encoder. During normal encoding we doing 2 reconfigurations (MFXVideoENCODE_Reset). After that, encoder stucks in following state:

1. All sync points completed (no active sync points).

2. 6 frames locked by quicksync, i.e. Locked = 1.

3. EncodeFrameAsync returns MFX_WRN_DEVICE_BUSY warning while trying to submit next frame or flush.

So in this state I can not submit next frame to encoder and there is nothing to read from encoder (bitstream).

We added detection for this case and restart encoder when this situation detected. And this works fine when I submit frames in video memory. But in case when buffers in system memory submitted, encoding ends in 8 locked frames and waiting in memory allocator for first available buffer to submit 9th frame. So app freezes in this state.

We using Intel Media SDK 2016 R2 (7.0.0.358). I have dump already with mentioned freeze and can provide it, and will also provide more info as soon as I get that from test team.

0 Kudos
3 Replies
idata
Employee
412 Views

Hello hmelyoff,

 

I am sorry the hear you are having issues while developing for QuickSync with SDK.

Would like to recommend you to post this here: https://software.intel.com/en-us/forums/intel-media-sdk https://software.intel.com/en-us/forums/intel-media-sdk

There you can find the correct path to follow

 

Regards,

 

Esteban C
0 Kudos
VK5
Beginner
412 Views

Thank you. Reported here: https://software.intel.com/en-us/forums/intel-media-sdk/topic/700217 QuickSync get stuck after 2 reconfigurations

0 Kudos
idata
Employee
412 Views

Thank you for the update provided regarding this, hmelyoff.

Any future inquiries you may have, feel free to let us know.

Regards,

 

Esteban C
0 Kudos
Reply