MFXVideoEncode Init sometimes returns an error

MFXVideoEncode Init sometimes returns an error

Hi, 
sometimes i get weird behavior when i call MFXVideoEncode.Init(). i get mfxStatus = -17 (device operation failure).
i get it for various frame size in an inconsistent manner (i.e. - usually everything is ok and Init goes successfuly. but sometimes with the same parameters - i get the above error)
when i get the error - i usually call Init() again with the same parameters until it returns MFX_ERR_NONE, which means that it is not a parameter problem
do you have any idea what might be the reason? what should i look for?

System details:

 Intel Media SDK System Analyzer (64 bit)
The following versions of Media SDK API are supported by platform/driver:

        Version Target  Supported       Dec     Enc
        1.0     HW      Yes             X       X
        1.0     SW      Yes             X       X
        1.1     HW      Yes             X       X
        1.1     SW      Yes             X       X
        1.3     HW      Yes             X       X
        1.3     SW      Yes             X       X
        1.4     HW      No
        1.4     SW      Yes             X       X
        1.5     HW      No
        1.5     SW      Yes             X       X
        1.6     HW      No
        1.6     SW      Yes             X       X

Graphics Devices:
        Name                                         Version             State
        Intel(R) HD Graphics 4000                    8.15.10.2712        08
        NVIDIA Quadro 2000                           8.17.12.9573        Active

System info:
        CPU:    Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
        OS:     Microsoft Windows 7 Enterprise
        Arch:   64-bit

Installed Media SDK packages (be patient...processing takes some time):
        Intel« Media SDK 2013 (x64)

Installed Media SDK DirectShow filters:
  Intel« Media SDK MP3 Decoder :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\imc_mpa_dec_ds.dll
  Intel« Media SDK JPEG Decoder :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\jpeg_dec_filter.dll
  Intel« Media SDK MPEG-2 Splitter :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\imc_mp2_spl_ds.dll
  Intel« Media SDK H.264 Encoder :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\h264_enc_filter.dll
  Intel« Media SDK MVC Decoder :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\mvc_dec_filter.dll
  Intel« Media SDK AAC Decoder :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\imc_aac_dec_ds.dll
  Intel« Media SDK MPEG-2 Decoder :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\mpeg2_dec_filter.dll
  Intel« Media SDK MP4 Splitter :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\imc_mp4_spl_ds.dll
  Intel« Media SDK MPEG-2 Muxer :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\imc_mp2_mux_ds.dll
  Intel« Media SDK MP4 Muxer :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\imc_mp4_mux_ds.dll
  Intel« Media SDK H.264 Decoder :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\h264_dec_filter.dll
  Intel« Media SDK MP3 Encoder :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\imc_mpa_enc_ds.dll
  Intel« Media SDK AAC Encoder :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\imc_aac_enc_ds.dll
  Intel« Media SDK MPEG-2 Encoder :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\mpeg2_enc_filter.dll
  Intel« Media SDK VC-1 Decoder :
    C:\Program Files\Intel\Media SDK 2013\samples\_bin\x64\vc1_dec_filter.dll

Installed Intel Media Foundation Transforms:
  Intel« Hardware VC-1 Decoder MFT : {059A5BAE-5D7A-4C5E-8F7A-BFD57D1D6AAA}
  Intel« Hardware H.264 Decoder MFT : {45E5CE07-5AC7-4509-94E9-62DB27CF8F96}
  Intel« Hardware MPEG-2 Decoder MFT : {CD5BA7FF-9071-40E9-A462-8DC5152B1776}
  Intel« Quick Sync Video H.264 Encoder MFT : {4BE8D3C0-0515-4A37-AD55-E4BAE19AF471}
  Intel« Hardware Preprocessing MFT : {EE69B504-1CBF-4EA6-8137-BB10F806B014}

thanks,
Nadav.
 

 

 

 

 

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

Hi Nadav,

looks like you are using a very old Intel Graphics driver. I recommend updating to the latest available driver to check if the problem persists.

Regards,
Petter

Login to leave a comment.