Various tools for MPEG2 TS manipulation. https://raiza.dev/
Find a file
2026-03-21 20:53:39 +09:00
.gitignore Initial commit 2026-03-21 11:47:18 +01: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 Update README.md and add tscarousel.py 2026-03-21 20:53:39 +09:00
tsdropcheck.py Update README.md and add tsdropcheck.py 2026-03-21 20:18:15 +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.