ALEVT-CAP(1) | Teletext capture | ALEVT-CAP(1) |
alevt-cap - simple capture of teletext pages
alevt-cap [options] ppp[.ss] ...
alevt-cap is a simple program to capture teletext pages and write them to disk. You just give it a list of pages to fetch and it will save them. Nothing fancy like time-outs, page ranges, or channel name detection is supported. Though, it supports different file formats - at the moment ascii, ansi (ascii with color escape sequences), html, png, and ppm.
A summary of options is included below.
Every non-option argument is taken as a page number. Subpages may be given in the form ppp.ss where ppp is the page number and ss is the subpage number. If no subpage is specified, the first transmitted subpage of that page is taken. The page is saved with the prior given format and name.
The filename may contain %-sequences. The following sequences are defined:
Between the % sign and the letter you can give a field width to which the replacement string should be padded.
The output format and associated options are given by the format specifier. It is made up of one or more comma separated words. The first word selects the output format and the others are options for that format. There are common options valid for all output formats and format specific (private) ones. Some options have the form of an assignment. The order of the options is free. Only the format name itself must be the first word. An example:
At the moment there are only two common options: reveal, and hide. They control whether the hidden characters present in a page should be shown in the output or not. The default is hide.
The special format string list (or help) will give you a list of all supported output formats and their options.
(The ansi format is an alias for ascii,color.)
The -progname or -pid option specifies the program or teletext PID if using the DVB interface.
If neither of these two options is used, alevt outputs informations about the currently accessible streams and uses the first of these PIDs as default. This output contains the PIDs and names that can be used as an input for the -progname or -pid option in the context of the currently chosen TV channel.
If the program timed out and some pages are missing the exit status is 1. On fatal errors the exit status is 2.
Before starting this program, you have to set the TV channel with another program like xawtv of set-tv.
/dev/vbi*
/dev/dvb/adapter*/demux*
If you give a page number that is never transmitted the program will not terminate.
Bug reports to <https://gitlab.com/alevt/alevt>.
1.8.0 | LINUX |