Various tools for MPEG2 TS manipulation. https://raiza.dev/
Find a file
2026-04-06 00:36:20 +09:00
.gitignore Update .gitignore 2026-03-29 18:55:16 +09:00
LICENSE Initial commit 2026-03-21 11:47:18 +01:00
README.md Update README.md and add tscarousel.py 2026-03-21 20:53:39 +09:00
tscarousel.py Remove comment/docstring cuz I don't care about it. 2026-03-22 19:41:09 +09:00
tsdropcheck.py Fix tsdropcheck.py summary. 2026-04-06 00:36:20 +09:00

RaiTSTools

Various tools for MPEG2 TS manipulation.

tsDropCheck

usage: tsdropcheck [-h] [-srcpath PATH] [-nolog] [FILE ...]

Check an MPEG-2 TS file for packet drops.
Outputs the playback time (PCR), broadcast date/time (TOT) and
byte offset of every continuity-counter discontinuity found.

positional arguments:
  FILE           TS file(s) to analyse

options:
  -h, --help     show this help message and exit
  -srcpath PATH  Alternate way to specify the TS file path
  -nolog         Suppress all output; only set the exit code (for batch use)

tsCarousel

usage: tscarousel [-h] [-o OUTPUT] [-v] [--extra-pids PID[,PID…]] [--comp-tag TAG] [--module-id ID] [--zip FILE.zip] ts_file

defaults are --comp-tag=0x50 --module-id=0x0021, these are used in TVO Pocket Monsters and PokeDoko for their data broadcast.