Skip to content

Fix: improve timestamp calculation for st20 st40 st41 #1224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tszumski
Copy link
Collaborator

@tszumski tszumski commented Aug 1, 2025

Improve timestamp calculation for st20 st40 st41, based on #1213

Fixes #1211

@tszumski tszumski force-pushed the tszumski-fix-timestamp-st20-st40-st41 branch from 49d2201 to 9e714c0 Compare August 1, 2025 10:37
@tszumski tszumski force-pushed the tszumski-fix-timestamp-st20-st40-st41 branch from 9e714c0 to 7946156 Compare August 1, 2025 10:43
@DawidWesierski4
Copy link
Collaborator

This doesn't seem to be complient with video
image

image

@DawidWesierski4
Copy link
Collaborator

Tried a few times cannot achive compliaency with this patch need some more work

Copy link
Collaborator

@DawidWesierski4 DawidWesierski4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't achive compliance with
Base one works fine
#1230

{
    "interfaces": [
        {
            "name": "0000:4b:01.0",
            "ip": "192.168.0.1"
        },
        {
            "name": "0000:4b:11.1",
            "ip": "192.168.0.2"
        }
    ],
    "tx_sessions": [
        {
            "dip": [
                "239.168.75.30",
                "239.168.75.31"
            ],
            "interface": [
                0,
                1
            ],
            "st20p": [
                {
                    "replicas": 1,
                    "start_port": 20000,
                    "payload_type": 112,
                    "width": 1920,
                    "height": 1080,
                    "fps": "p60",
                    "device": "AUTO",
                    "input_format": "YUV422PLANAR10LE",
                    "transport_format": "YUV_422_10bit",
                    "st20p_url": "/mnt/ramdisk/file.yuv",
                    "user_pacing": true
                }
            ],
            "st30p": [
                {
                    "replicas": 1,
                    "start_port": 30000,
                    "payload_type": 111,
                    "audio_format": "PCM24",
                    "audio_channel": ["U02"],
                    "audio_sampling": "48kHz",
                    "audio_ptime": "1",
                    "audio_url": "/mnt/ramdisk/file.yuv",
                    "user_pacing": true
                }
            ],
            "user_pacing_offset" : 130000000
        }
    ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ST20p Tx - incorrect RTP timestamps with USER PACING
2 participants