Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1.13 KB

File metadata and controls

18 lines (13 loc) · 1.13 KB

Teletext Packet Analyser

A python script to decode and sort through teletext datastreams.

Installation

Install with pip3 install . or install in editable mode with pip3 install -e . to allow you to edit the source without needing to re-install.

Invocation

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 outputfile. 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 --idl and --bsdp respectively. Independent Data Line transmissions can be further filtered using --datachannel and --spa to select a data channel and IDL format A service packet address respectively