I made a decoder usingsample source 'sample_decode'
After my decoder program starts, it makes 1-16 threads.
And each thread make an object(class instance)of CDecodingPipeline.
That is, my decoder decodes data from 1-16 IP cameras concurrently.
Multi-decoding of data of 1-8 IP camerahas no problem.
But multi-decoding of over 8 IP camerahas critical problem.
'MFXVideoDECODE_DecodeFrameAsync' function returns 'MFX_ERR_UNKNOWN' and doen't read data in variable 'm_mfxBS'.
Once adecoderthread returns this value,decode function always return above error.
My conclusion is that
1. one process must have less than 9 objects of 'CDecodingPipeline' class.
2. If I want to use over 8 objects, I mustexecutetwo process.
3. thereareone moreresource that entire threads in one process share.
If I use SW decoding in my program, no there is any problem...T.T
Do you have any solution about using HW decoding??
I want to get any infomation about above problems.
andmy platform :
OS: Win 7(32bit)
CPU: i3 (sandy bridge)
Main Board : DH67BL
Mem : 2 GB
Media SDK : 3.0 Beta
Thank you in advance!