This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM36x video capture double-sized somehow

Background: I have BT.1120 YUV input working on a DM368, running Appro IPNC MT5 SDK 4.0.x. We are capturing at 720p60.

The capture looks OK but I think the picture is being stretched somehow, like the lines are doubled.

There are some odd defines in the SDK imager / ISIF / IPIPE where width is taken directly but height values are scaled either /2 or *2, for example:

drv_imgsCalcCfg_BOBIMG -> DRV_imgsCalcFrameTime() sets pModeCfg->sensorDataWidth   = pFrame->W; but pModeCfg->sensorDataHeight  = pFrame->H /2 ;

This is not explained/commented in the source.

Another oddity is that we capture at 60fps (720p60), the encoder/stream runs at 30fps (I have not changed the ./avserver.out config, we are just using 720P_MAX mode), but VLC reports the stream is running at 120fps!

I'm sure much of this is related - any advice welcome!

You can see the circles are stretched and the picture is not as detailed as it should be (ignoring compression artefacts).