Skip to main content

GOP Structure

The injector determines the incoming stream GOP structure from the PTS and DTS pattern of the first seven incoming frames.

If the actual GOP structure is longer, detection can fail. In practice, KlvInjector may conclude that the stream contains no B-frames even when it does, which can lead to severe artifacts and skipped frames in the output.

The default detection depth is kept small to limit live-start latency and memory usage for the common case.

If your stream needs a deeper learning window, increase the value in both SampleSynchronizerFilter.ini and ImpMpegMuxFilter.ini:

[Pts]
LearningDepth=9