Disabling CSI frame skipping causes VPU to slow down

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Disabling CSI frame skipping causes VPU to slow down

535 Views
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?

Labels (1)
0 Kudos
1 Reply

441 Views
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 Kudos