OpenVisualCloud / OpenVisualCloud/Media-Transport-Library

Unexpected variable latency in interlaced mode

Open
#1,653 6 comments 0 reactions 2 assignees View on GitHub

@Sakoram is already working on this.

Since Jul 15, 2026.

Dominant language
C
Stars
246
Forks
88
Avg merge
7d 16h
Merged PRs (30d)
22

Description

Hi!

I noticed that the transmission latency is not predictable when transmitting a 1080i50 stream (also reproducible with 1080i59.94) using the TxSt20PipelineSample.

I sometimes observe a latency of approximately 542 lines early (~19 ms) :
Image

And other times I observe a latency of approximately 21 lines late (~0.736 ms) :
Image

The latency is measured using a Telestream PRISM.

This issue does not occur in progressive mode.

I can reproduce the issue using the following command:

sudo ./build/app/TxSt20PipelineSample  -p_port XXXXXXXXXX -p_sip AA.BB.CC.DD  -udp_port 1234 -p_tx_ip WW.XX.YY.ZZ -payload_type 96 -interlaced -fps 50  -ptp

The issue is also reproducible with RxTxApp using the following JSON configuration:

{
    "interfaces": [
        {
            "name": "XXXXXXXXXX",
            "ip": "AA.BB.CC.DD"
        }
    ],
    "tx_sessions": [
        {
            "dip": [
		"WW.XX.YY.ZZ"
            ],
            "interface": [
                0
            ],
            "st20p": [
                {
                    "replicas": 1,
                    "start_port": 1234,
                    "payload_type": 96,
                    "width": 1920,
                    "height": 1080,
		    "interlaced": true,
                    "fps": "p50",
                    "device": "AUTO",
                    "input_format": "YUV422PLANAR10LE",
                    "transport_format": "YUV_422_10bit",
                    "st20p_url": "testyuv"
                }
            ]
        }
    ]
}

RxTxApp output log:
RxTxApp_log.txt

MTL version : main branch 982e2ea5520d5ad2a10790a462907202570b8a43
OS : Ubuntu 22.04.5 LTS

Status report:
system_info.txt
kernel_log.txt

Thank you in advance for your feedback.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.