The number of B frame setting is failed in 64bit Windows 7

The number of B frame setting is failed in 64bit Windows 7

Hi All,

The Setting B frame function as below is OK in 32 bit Windows 7,
but its fail in 64 bit Windows 7.

Maybe EncoderParams.ps_control.num_b_frames will be changed in insight code.

IConfigureH264Encoder* pH264EncProps;
IConfigureH264Encoder::H264Params EncoderParams;
hr = encFilter->QueryInterface(IID_IConfigureH264Encoder, (void **)&pH264EncProps);
EncoderParams.ps_control.num_b_frames = frame_num;
return hr;

Best Regards,

2 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione


We reproduced your scenario without making any changes to the Media SDK direct show H.264 sample encoder filter or mp4 muxer filter (binary). Setting B-frame number was verified using stream analyzer to work on both 64 and 32 bit.

Can you elaborate a bit more on how you have built your solution?

Note that the encoder properties are written to the Windows registry when calling SetParams.


Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi