In a normal-latency mode of operation all frame types (I, P, and B) are supported, with no restrictions on GOP-structure. Any rate control mode can be used. End-to-end latency depends on profile/level, GOP-structure, and number of internal buffers used for processing.
For encode, alignment=au specifies that
full frames are output.
gst-launch-1.0 v4l2src io-mode=4 device=/dev/video0 ! video/x-raw, width=1920, height=1080, framerate=60/1, format=NV12 ! omxh264enc ! video/x-h264, alignment=au! fakesink
Decode:
gst-launch-1.0 filesrc location=in.mp4 ! qtdemux name=demux demux.video_0 ! h264parse ! video/x-h264, alignment=au ! omxh264dec low-latency=0 ! queue max-size-bytes=0 ! fakevideosink