To reduce frame decoding time for bitstreams greater than 100 Mb/s at 4kP30, use the following options:
- Increase internal decoder buffers (internal-entropy-buffers parameter) to 9 or 10.
- Add a queue at the decoder input side
The following command decodes an H.264 MP4 file using an increased number of internal entropy buffers and displays it via DisplayPort.
gst-launch-1.0 filesrc location="input-file.mp4" ! qtdemux name=demux demux.video_0 ! h264parse ! queue max-size-bytes=0 ! omxh264dec internal-entropy-buffers=10 ! queue max-size-bytes=0 ! kmssink bus-id=fd4a0000.display fullscreen-overlay=1