Accessing the hardware decoder and encoder on AI-64

I am trying to use hardware decoder and encoder via V4L2 with ffmpeg but it seems there are some issues. Example command:
ffmpeg -c:v h264_v4l2m2m -i test.mp4 -c:v h264_v4l2m2m out.h264
When I try to access HW decoder there is crash in kernel. With accessing only encoder it seems that it works partially because there is not possible to set some parameters on encoder:

[h264_v4l2m2m @ 0xaaaaf2be35f0] Failed to set timeperframeFailed to set bit rate: Invalid argument
[h264_v4l2m2m @ 0xaaaaf2be35f0] Failed to set gop size: Invalid argument

Does anyone tried to use the TI examples ?

Hi
May you have found a solution ?

I don’t use TI stuff, however first test the installation to make sure it is complete and functions.

Download a known working .mp4 into your Videos folder.

$cd Videos
~/Videos$ ffplay <enter name of your .mp4>

If this works you have a viable install of ffmpeg, check your startup line to make sure it is correct and the file you are referencing is in the path stated in your string. Many examples have pseudo file paths for generality purposes .