J784S4XEVM: How to get the h264 hw encoder working with gstreamer

Part Number: J784S4XEVM


We are trying to get gstreamer to use the HW h264 video codec to do encoding. Right now it seams to only do SW encoding. We are only getting a FPS of about 18. I enabled the vpu0 andv vpu1 in my device tree. Yes we are running TI Linux. The gstreamer scrpt is as follows:

gst-launch-1.0 v4l2src device=/dev/video-isx031-cam0 ! "video/x-raw,width=1920,height=1536,format=UYVY" ! videoconvert ! v4l2h264enc ! h264parse ! rtph264pay ! udpsink host=192.168.0.112 port=50000 sync=false
 
The v4l2 and wave5 drivers are building and loading. I see the video-codec@421000 in the device tree driectory with status = okay, but when I do a dmesg | grep video I do not see anything loading.
 
I feel we are close. It must be someting simple.