Skip to content

ts_analyze 2.6

Choose a tag to compare

@algb006 algb006 released this 31 Oct 00:20

ts_analyze 2.6: RTP, SMPTE ST 2022-1 FEC and ST 2022-7 inputs, a JSON report, and check ids that follow ETSI TR 101 290.

New (off by default; without these options the analysis is the same as in 2.5, apart from the TR 101 290 changes below)

  • --rtp: RTP input. Sequence numbers, losses, payload type and SSRC are checked.
  • --fec: SMPTE ST 2022-1 (Pro-MPEG) FEC.
    • Column FEC arrives on port+2 and row FEC on port+4. 1D and 2D are detected from the stream.
    • Lost datagrams are rebuilt before the TR 101 290 analysis.
  • --path2 <udp://...> (with --path-skew-ms): SMPTE ST 2022-7. Two paths of one stream are merged seamlessly by RTP sequence number.
  • Checks S.1-S.6 (unrecoverable loss, RTP protocol errors, path down, paths differ, path skew, FEC absent) take part in the verdict and exit code when the options are given.
  • --json: one compact JSON object (schema ts_analyze/1) for scripts and AI agents. It holds the verdict, the exit code, and each problem with its standard clause, times and first events.

Changed

  • Check ids follow ETSI TR 101 290 in the text, XML and JSON output. Checks the standard does not have get AREA.name ids. The old ids are gone; CHANGELOG.md has the table.
  • 2.3a PCR_repetition_error fails above 40 ms, the TR 101 290 limit. Streams that send PCR every 80 ms now fail it. -l/--pcr-limit is removed.
  • 1.1 and 1.2 follow TR 101 290.
    • 1.1 TS_sync_loss = 2 or more bad sync bytes in a row; 1.2 Sync_byte_error = each one.
    • A bad sync byte no longer shifts the packet boundaries.
  • CRC errors count only in 2.2.
  • A packet with the transport error indicator set no longer causes CC errors.
  • UDP inputs wait for the first datagram up to --wait-s (default 10 s).
  • -V/--version prints the version.

Static Linux x86_64 binary (musl), no dependencies. SHA-256: 8fdb3156b0028629659bcba4e6ff22a462ecf0df32886230b15faff8c5488071

Part of the Perfect Streamer Toolkit by Perfect Soft (https://meshwork.pstreamer.tv). Apache-2.0. libdvbpsi (VideoLAN, LGPL-2.1-or-later) is linked statically; see NOTICE.