Connect your first SRT stream

Connect your first SRT stream

This runbook gets you from a running Pixop Prime appliance to processed MPEG-TS on the primary egress path: SRT ingest on UDP 5000 and SRT egress on UDP 5001. The default primary SRT path uses listener mode on the appliance; your encoder and downstream receiver dial in as callers. Advanced caller/relay transports exist for other paths—see Transport configuration. The same commissioning steps apply on AWS Marketplace and KVM—only network reachability and licensing differ.

Shipped defaults use 16-byte keys on ingest and 32-byte keys on egress (pbkeylen in the URI). The installed tsduckctl credentials sheet is authoritative for passphrases, ports, and peer-facing URIs. It prints passphrases in clear text—use a private session; never put secrets in tickets, chat, shell history, screen shares, or log bundles.

Before you start

TopicAWS MarketplaceKVM
Licensepixop-license doctor healthy after subscribeJWT installed per KVM quickstart
ReachabilityStack outputs PrivateIp unless your subnet assigns a public address; CloudFormation does not attach an Elastic IP. Encoders outside the VPC need VPN, peering, or routing to that address.Use the guest LAN IP or host port forwards from the quickstart—do not point external tools at 127.0.0.1 unless the forward is on that host.
FirewallSecurity group and subnet NACL must allow UDP 5000 from the encoder and UDP 5001 toward the receiver. Management HTTP 8080 and SSH only from trusted CIDRs.Host firewall or bridged LAN rules equivalent to the AWS ports above.

Step 1 — Confirm readiness

On the appliance SSH session:

pixop-version
pixop-preflight
pixop-stack status

On AWS, also run pixop-license doctor. On KVM, confirm license status per the quickstart.

When services are up, listeners should be bound (this does not prove a peer is connected):

tsduckctl check main
tsduckctl check egress-main

OK: listener … bound (SRT session unverified) is expected before you connect encoders or receivers. If checks fail, see Transport troubleshooting before changing configuration.

Step 2 — Read credentials and build peer URIs

In a private shell on the appliance:

tsduckctl credentials

Use the Private URI and Public URI lines (and matching IPv4 rows) from the sheet—Public URI is omitted when no public address is assigned. Copy passphrases and PBKEYLEN values into your encoder and receiver tools through your normal secret-handling process—never into shared notes.

Schematic ingest and egress URIs (replace placeholders; do not commit real passphrases):

srt://APPLIANCE_IP:5000?mode=caller&passphrase=INGEST_SECRET&pbkeylen=16
srt://APPLIANCE_IP:5001?mode=caller&passphrase=EGRESS_SECRET&pbkeylen=32

APPLIANCE_IP must be reachable from each peer (private VPC address, forwarded host port, or public address if your subnet provides one). Ingest and egress use different passphrases and key lengths.

Step 3 — Connect live source, then egress receiver

  1. Start continuous live MPEG-TS as SRT caller to UDP 5000 (ingest URI from the credentials sheet). Short clips may end before enhanced video appears; GPU models warm up after cold start with no fixed time-to-first-frame.
  2. Connect downstream as SRT caller to UDP 5001 and leave the receiver up while you validate. Egress SRT does not deliver a program to your tools until a receiver is connected. Retry once if egress fails right after a restart (startup drain).

Secondary paths on 5002 / 5003 stay off for first success—see Transport configuration later.

Step 4 — Diagnose internal flow

With the source on-air:

pixop-flow --secs 5

pixop-flow samples UDP payload rates at five stages. Mbps here means traffic volume on that hop—not a guarantee of valid MPEG-TS, decoded video, audio, or enhancement on the egress program.

pixop-flow stageMeaning
SRT ingest :5000UDP payload from your encoder’s SRT session into the appliance
Ingress → Pixop :5500MPEG-TS hand-off toward Pixop LIVE
Pixop → replacement :5501Transport packets carrying processed video from the GPU path
Final merged TS :5600Muxed transport stream before egress
SRT main egress :5001UDP payload toward your downstream caller (when connected)

Idle stages (0.00 Mbps) before the source connects are normal. Exit code 0 with all zeros means no traffic yet. Exit code 3 means the pre-Pixop backbone hit TS_TARGET_BITRATE capacity—investigate input bitrate or capacity; see Transport troubleshooting.

Re-run tsduckctl check main and tsduckctl check egress-main if you need to confirm listeners still bound after changes elsewhere.

Step 5 — Verify processed output and health

Success is not only SRT connectivity. On the downstream decoder, probe, or TS analyzer, confirm the processed program matches your intended profile:

  • Video: codec, frame rate, resolution or upscale factor (when applicable), and bitrate in the expected range.
  • Color: HDR/SDR transfer, primaries, and matrix when the workflow depends on them.
  • Timing: continual audio and video when the source carries audio; stable PTS/PCR behavior if your tools monitor them.

On the appliance, optional health signals:

pixopctl health
curl -sS http://127.0.0.1:8080/v1/metrics

pixopctl health reflects local Prometheus metrics. Open the control UI at http://APPLIANCE_IP:8080 only from a host allowed by your management CIDR. The endpoint is HTTP, not TLS; do not expose it to the open Internet. Metrics and the UI may require authentication when configured.

For deeper stalls after these steps, use Transport troubleshooting and Monitoring and troubleshooting.

Optional — PID and latency (read-only first)

Only after pixop-flow shows traffic through egress and downstream verification is underway:

tsduckctl detect-video-pid main --secs 10
tsduckctl tune-latency main

Both commands are read-only without --apply. Use them when PSI or pipeline timing needs adjustment on your source.

Applying changes is a deliberate maintenance action: --apply writes configuration and restarts primary ingest, which drops active SRT sessions. Follow Transport configuration; do not hand-edit .env files during first commissioning.

First-success path (summary)

Readiness (preflight, stack status, tsduckctl check)
    → tsduckctl credentials (private)
    → SRT source caller → :5000 (continuous live)
    → SRT receiver caller → :5001
    → pixop-flow --secs 5 (UDP payload rates; not decoded output)
    → Downstream verify processed content (required) + pixopctl health / metrics

Symptom quick reference

What you seeLikely causeWhat to try
Encoder timeout to :5000Wrong IP, AWS SG/NACL, KVM forward, or private-only EC2 without VPNConfirm tsduckctl credentials address; open UDP 5000 from encoder CIDR
SRT session connects but pixop-flow shows no ingest trafficEncoder is not sending media, capture is missing packets, or the active flow uses another pathConfirm a continuous feed, the intended ingest listener and the sampling window; see transport troubleshooting
Ingest Mbps OK; replacement or egress zeroGPU path still warming, source gap, or no egress receiverKeep continuous live feed; connect :5001 caller; wait and re-sample pixop-flow
Egress caller fails onceStartup drain after restartRetry caller; avoid unnecessary tsduckctl restart
check OK but peer cannot connectPassphrase or pbkeylen mismatchRe-read credentials sheet securely (16 ingest / 32 egress)
Exit code 3 from pixop-flowInput exceeds backbone bitrateLower source bitrate or follow troubleshooting doc

Acceptance before going on air

  • Soak with continuous ingest and egress for your sign-off window.
  • Downstream validation of processed video, audio (if present), and timing is required—not only SRT connected or non-zero pixop-flow on egress.
  • Use management UI and metrics only on trusted networks.

Related


Did this page help you?