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
Announcements
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.

Hang when stopping an H264 QSV capture

kyviquel
Beginner
362 Views

Hi,

We are currently experiencing a hang when stopping an H264 QSV capture. The workflow we are doing in this case is the following:
- We do 4 capture at the same time and split files after a defined period. During a split, we are stopping 4 captures and starting 4 other at the same time to not lose any frame.
- We convert YUY2 to NV12 then do the encoding to H264.
- We use the de-interlacer
- We are capturing 1080i (25 or 29.97 fps) streams.

I'm attaching  the log from the sys analyzer for the rest of the information. Unfortunately, I tried to run our application using the tracer, but when using it, it is too unstable (it crashes within a few minutes when tracing is on) to be able to reproduce the bug... The version of the SDK and dll we use match, but it's still unstable (we are using Media SDK 2014 for Clients (x64)).

I have dumps where a thread is clearly hung in libmfxhw64.dll when we try to close the encoder (MFXVideoENCODE_Close). I'd like to send it to you in a private message if possible.

Is this an issue you are aware of or working on?

Thanks in advance!

0 Kudos
1 Solution
Anthony_P_Intel
Employee
362 Views

Hi,

There was an issue discovered in the graphics drivers and fixed recently, but it is hard to tell if it is the cause of what you are seeing.  New graphics drivers are being validated now, and should be available very soon.

There was also an issue found in the Media SDK dispatch code (the libmfx.lib that your application links with).  I notice your system has both NVidia and Intel graphics adapters, so there is some possibility you may need the modification described in this thread:

https://software.intel.com/en-us/forums/topic/519877

Please feel free to send private message if you would like more information.

 

View solution in original post

0 Kudos
1 Reply
Anthony_P_Intel
Employee
363 Views

Hi,

There was an issue discovered in the graphics drivers and fixed recently, but it is hard to tell if it is the cause of what you are seeing.  New graphics drivers are being validated now, and should be available very soon.

There was also an issue found in the Media SDK dispatch code (the libmfx.lib that your application links with).  I notice your system has both NVidia and Intel graphics adapters, so there is some possibility you may need the modification described in this thread:

https://software.intel.com/en-us/forums/topic/519877

Please feel free to send private message if you would like more information.

 

0 Kudos
Reply