Hi,
We need to perform decoding of an interlaced H.264 stream using the VPU of the iMX8 Quad Max. Doing it using the v4l2h264dec GStreamer plugin the CPU usage keeps rising over time. For example, the following is the CPU usage of the gst-launch process measured using top:
Time 0: 3% CPU
1 min: 6.6% CPU
2 min: 14% CPU
3 min: 20.2% CPU
The same behaviour was observed on a iMX8M Plus using vpudec.
Is interlaced video decoding supported by the Amphion VPU (or any other VPU)? Or is there another issue with decoding interlaced video?
To reproduce the issue I recorded a file from the stream which can be played using the following GStreamer pipeline:
gst-launch-1.0 filesrc location=interlaced.h264 ! h264parse ! v4l2h264dec output-io-mode=dmabuf ! fakesink sync=true
Problematic video:
https://drive.google.com/file/d/1YPnvKthPSfGqi5q_Ua_oUKjZ_ACMeOqv/view?usp=sharing