Getting Error for nvv4l2h264enc in application compilation

Hi,
Please check if the posts help:

It seems to be an issue you run the application in docker and miss certain device nodes. Not sure if this is your case.