Disabling CSI frame skipping causes VPU to slow down

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Disabling CSI frame skipping causes VPU to slow down

544 次查看
mikigrof-tisza
Contributor II

I'm using the latest gstreamer-imx elements to implement 2 simultaneous instances of the following video pipelines on a custom i.MX6Q board:

VidSource (1080p60 or p30) -> CSI (parallel) -> SMFC -> mem -> IC (scaling down) -> VPU (h264 encoding scaling to 1280x720) -> file

I've been using this flow for quite some time now without any issues.  However, I'm noticing a problem with the VPU frame processing times.  My test source is normally 1080p60 and I have the CSI set to skip every other frame reduce the frame rate down to 30fps.  When I do that everything works.  However, if I configure the same source to 1080p30, and configure the CSI not to skip frames, the processing time in the VPU increases to the point where it cannot keep up and eventually the pipeline fails.

The other part of this is if I remove the scaling element in the IC, the VPU keeps up regardless of CSI frame skipping enabled or not. 

Any thoughts, on what might be causing this?

标签 (1)
0 项奖励
1 回复

450 次查看
joanxie
NXP TechSupport
NXP TechSupport

did you set skippicture=0? if yes, did you set foreceIpicture? if you neeed vpu api file, pls tell me ,I can send to  you.

0 项奖励