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
HDMI.
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 ! bus-id="<hdmi-bus-id>" fullscreen-overlay=1