Quantcast
Channel: Intel® Software - Media
Viewing all articles
Browse latest Browse all 2185

tutorial_screen_capture ERROR!!!

$
0
0

hello

   when i using the pluging(mfxplugin64_screen_capture.dll) to capture the desktop

mfxVideoParam par;

.......

 par.mfx.FrameInfo.FourCC = params.fourcc;
    par.mfx.FrameInfo.ChromaFormat = params.chroma_format;
    par.mfx.CodecId = MFX_CODEC_CAPTURE;

//par.NumExtParam = 1;
   // par.ExtParam = &mfxextbuf;

..........

everything works well!

when:

mfxVideoParam par;

.......

 par.mfx.FrameInfo.FourCC = params.fourcc;
    par.mfx.FrameInfo.ChromaFormat = params.chroma_format;
    par.mfx.CodecId = MFX_CODEC_CAPTURE;

par.NumExtParam = 1;
par.ExtParam = &mfxextbuf;

..........

mfxSts = MFXVideoDECODE_Query(mfxSes, &par, &par);

always return MFX_ERR_UNSUPPORTED.

what's the problem with this??how can i to do?

 


Viewing all articles
Browse latest Browse all 2185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>