Why do I sometimes see heavy APU loading for high bitrate encoding?
This is a known issue with the Zynq UltraScale+ MPSoC VCU - LogiCORE H.264/H.265 Video Codec Unit (VCU) that can occur when encoding some streams at high bitrates.
It occurs because the APU has to do memcopies when reconstructing the output frame.
The code has been rewritten to change these APU memcopies into DMA transfers to offload the memory movement from the CPU.
The fixes below will cause the application to issue an exception and close instead of hanging.