Media (Intel® oneAPI 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
3030 Discussions

MFXVideoENCODE_EncodeFrameAsync constantly returns MFX_WRN_DEVICE_BUSY

Oleg_F_
Beginner
684 Views

Hi,

I'm using MSS 2015R3 (I also upgraded to R4, but the issue still exists)
CentOS 7

My scenario is as following:
-H.264 decoder (720p 30fps high profile) => VPP composition(only one input) => H.264 encoder (720p 30fps high profile)
-each component uses its own session, but all 3 sessions are joined

After about 20 seconds of successfull work, H.264 encoder (MFXVideoENCODE_EncodeFrameAsync) begins returning MFX_WRN_DEVICE_BUSY and it returns it constantly, i.e. after sleep it continues to return MFX_WRN_DEVICE_BUSY. The only way to get out of it is to restart the process, then everything repeats.

*The interesting thing is that the decoder and the VPP continue to work normally

*Another interesting thing is that the last time encoder works properly, its MFXVideoCORE_SyncOperation returns MFX_ERR_UNDEFINED_BEHAVIOR and the next time after that encoder's MFXVideoENCODE_EncodeFrameAsync begins returning MFX_WRN_DEVICE_BUSY.

Please help me with this issue
It is pretty urgent

Thanks,

Oleg

0 Kudos
2 Replies
Oleg_F_
Beginner
684 Views

And one more detail: this issue is not reproduced if I change encoder high profile to baseline profile.

0 Kudos
Shaojuan_Z_Intel
Employee
684 Views

Are you using the samples in MSS? If you modified the samples, could you give us the reproducer code so that we can take a look at the issue? Another approach, will you be able to reproduce the issue with sample_multi_transcode ?

0 Kudos
Reply