Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

The number of allocated frames for decoder

Andrew_B_3
Beginner
74 Views

Hi,

I am developing videoconference application. Please help me to understand how many sessions can be processed simulteniously. Request of Decoder->QueryIOSurf() returns NumFrameMin = NumFrameSuggested = 17 for 640x480 frame (also 7 for 1280x720 and  9 for 320x240). The same values passed to callback Alloc() when Decoder->Init() is called. Any different values I am trying to pass with Request.NumFrameSuggested leads to Decoder->Init() error. So, 1 decoder session required to allocate 17 * 640*480*1,5 = 7833600 bytes and 10 simultaneous sessions will require 78 Mb. But I have only 64M of video memory on my PC. Is it real limitation of 8 sessions in this case? What happened when I shall try to alocate more video memory than available? Is any way to reduce the number of allocated frames for decoder session?

 

0 Kudos
1 Reply
Petter_L_Intel
Employee
74 Views

Hi Andrew,

QueryIOSurf does return the number of required surfaces for decode. The # of surfaces required depends on many things, such as profile, GOP pattern, asyncdepth etc.

There is unfortunately no way of using less surfaces than suggested by QueryIOSurf. If you need more sessons you will have to make sure your machine as enough memory to support it.

Regards,
Petter 

Reply