Low frame when encoding 1080p@30fps with h264/h265

The problem might be in playback. Totem in Ubuntu often fails to play.
What gives (assuming you’re running X):

gst-launch-1.0 filesrc location=filename_h264.mp4 ! qtdemux ! h264parse ! nvv4l2decoder ! nvvidconv ! videoconvert ! xvimagesink