I downloaded the BSP mentioned at this link:
and successfully build an image. The problem is that there seems to be no H264 encoder. gst-inspect-1.0 reports just the vpudec plugin, but no vpuenc_h264. I tried to be more liberal with licensing (by adding LICENSE_FLAGS_WHITELIST += "commercial"). The list of plugins grew a lot but still no H264 encoder.
On imx6 I had a vpuenc_h264 on imx-gst1.0-plugin. I have the same plugin here, source taken from https://source.codeaurora.org/external/imx/imx-gst1.0-plugin.git where encoder seems supported.
Am I missing something?