Teletext Packet Analyser
A python script to decode and sort through teletext datastreams.
pip3 install . or install in editable mode with
pip3 install -e . to allow you to edit the source without
needing to re-install.
teletext-decoder -i <inputfile> -o <outputfile> [-p <page number>] [-s <subpage number>] [--wst] [--idl] [--datachannel] [--spa <hexadecimal address>] [--bsdp]
inputfile should contain concatenated 42 byte teletext packets (2 byte MRAG followed by 40 bytes of data). A 43 byte WST dump from a capture card can be decoded using the --wst flag.
A decoded and annotated representation of the teletext datastream will be written to
An optional teletext page number will return only the packets belonging to the specified page and further filtered by specifying a subpage.
Filtered Independent Data Line or Broadcast Service Data Packets can be selected with
Independent Data Line transmissions can be further filtered using
--spa to select a data channel and IDL format A service packet address respectively