Hello!
I use encoder 2.30.00.3. For switch encoder mode I use this code:
if((create->width<320)||(create->height<128))
{
pObj->params.encodingPreset = XDM_USER_DEFINED;
pObj->params_h264.encQuality = 1;//0;
}
else {
pObj->params.encodingPreset =
(create->width > 2048) ? XDM_HIGH_QUALITY : XDM_HIGH_SPEED;
pObj->params_h264.encQuality = 2;
}
I found strange fact - if codec work in backward compatible mode I always get pink image.
How can I solve this problem?
Thank you and excuse me for my bad english.