I am writing a program to decode 16 video streamingwith hw decode. My program create16 threads, and every thread create a MFXVideoSession.The 1~7 session are init successfully. ButMFXVideoSession::Init() function over 8 sessionsalways return MFX_ERR_UNSUPPORTED.
Event I use sw decode the problem is still the same. Do any one has any information about this problem.
And my platform is:
OS: Win 7 (64bit) CPU: i7 Sandy Bridge Main Board : ASUS P8-H67-M Pro Mem :4 GB Media SDK : 3.0 Beta
Thethe root cause of is my program set the stack size to 10M.Every thread allocate 10M virtual memory for stack. And every session also allocate 10M virtual memory. The virtual memory of this process is exaugstedafter I create 8 decoder to decode streaming.
I modify compile stack reserve size to 1M and this problem is fixed.