Gstreamer error when using vpuenc_h264 on 8MPLus


I’m running a bsp based on the toradex_5.4-2.3.x-imx branch

I’m trying to run some pipelines with gstreamer but everytime I used the vpuenc_h264 I get the following error:

root@verdin-imx8mp:~# gst-launch-1.0 videotestsrc ! video/x-raw, format=I420, width=640, height=480 ! vpuenc_h264 ! filesink location=test.mp4

Setting pipeline to PAUSED …

====== VPUENC: 4.5.7 build on Nov 13 2020 08:36:18. ======
[Invalid UTF-8] wrapper: -462910208.43690.19 (\xa0\xdfR\xe4\xaa\xaa)
vpulib: -741015632.65535.-1871856600
firmware: 1.0.-462910480.43690

Pipeline is PREROLLING …

And then the pipeline freezes

This gstreamer pipeline is an example from NXP User Guide, so I guess this should work out of the box

Any thoughts on this? Thanks!