Required Frame Numbers

Required Frame Numbers

imagem de lonely_hearts_club

In h264_enc_filter, I noitce the NotifyAllocator() method will return E_FAIL if  cBuffers < nMin. I know this is because  h264_enc_filter needs to restrict the minimum number of the input frame surfaces required for encoding initialization.

When I implement a upstream filter,I can set cBuffers to a proper value. However, sometimes I just need to use some other filters which I don't have the source code.

For example, I tried connecting the Infinite_Pin_Tee_Filter to the h264_enc_filter and it failed. The cBuffers value in the allocator property was set to 1, which is smaller than the minimum number of frames required by the encoder filter. What can I do in this situation? Thank you!

 

Regards.

-Patrick

 

3 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

Hi Patrick,

The topic has been discussed earlier on this forum.
http://software.intel.com/en-us/forums/topic/311877

(maybe the above post will be of some help?)

There may not be a perfect solution available, so you may have to explore modifying or creating your own Tee filter.

Regards,
Petter

imagem de lonely_hearts_club

Citação:

Petter Larsson (Intel) escreveu:

Hi Patrick,

The topic has been discussed earlier on this forum.
http://software.intel.com/en-us/forums/topic/311877

(maybe the above post will be of some help?)

There may not be a perfect solution available, so you may have to explore modifying or creating your own Tee filter.

Regards,
Petter

Hi,Petter
I have temporarily solved the problem by ignoring
if(nMin > (mfxU32)props.cBuffers) { hr = E_FAIL; }
I hope I will not run across any problems by doing this.;)

Many thanks

-Patrick

Faça login para deixar um comentário.