Skip to main content

Recommended streaming settings and how to fix the "keyframe interval too high" error

Set your camera's streaming options to avoid seeking problems, playback delays, recording gaps and the "keyframe interval too high" error.

Written by Ondrej Lanc

Incorrect streaming settings can cause these issues:

  • Inaccurate seeking in video footage when you use cloud recording.

  • Delays when video playback or the live stream starts (live video monitoring, broadcasting and so on).

  • Gaps in cloud recording.

  • The "keyframe interval too high" error in the cloud recording interface.

How to set up your camera

  1. Measure your internet speed at Speedtest and note the upload speed. If you connect multiple cameras, divide the upload speed by the number of cameras to get the bitrate available for each camera.

  2. Log in to the web configuration interface of your camera.

  3. Find the streaming or video settings and change them to the following values:

  • H.264 profile: Baseline (H264B)

  • Streaming mode: CBR (Constant bitrate) or Maximum bitrate

  • Bitrate: a value lower than your measured upload speed

  • Keyframe (I-Frame, GOP): 1 to 2 seconds, or the equivalent in frames based on your FPS setting (for example, 30 to 60 frames at 30 FPS)

Note: This is the best available H.264 setting for stream stability. It can increase the overall amount of transferred data, but it gives you much smoother and faster seeking and more reliable recording.

Examples for various camera manufacturers

Dahua

Dahua streaming settings

Hikvision

Hikvision streaming settings

Axis

Axis streaming settings

Foscam

Foscam streaming settings

Vivotek

Vivotek streaming settings
Did this answer your question?