ALEVT-CAP(1)

✨ ALEVT-CAP(1) β€” Teletext capture πŸ“Ίβœ¨

πŸ’– NAME

alevt-cap β€” simple capture of teletext pages 🌸

πŸŽ€ SYNOPSIS

alevt-cap [options] ppp[.ss] ...

πŸ¦‹ DESCRIPTION

okay so alevt-cap is a simple little program that captures teletext pages and saves them to disk πŸ’Ύ you just hand it a list of pages to grab and it saves them for you 🫢 nothing fancy like time-outs, page ranges, or channel name detection is supported, bestie πŸ’… but it does support different file formats, which is giving variety ✨ at the moment that's ascii, ansi (ascii with color escape sequences), html, png, and ppm 🌈

πŸ‘‘ OPTIONS

ngl here's a summary of all the options πŸ“

  • -name filename β€” tells it the filename the pages should be saved under πŸŽ€ it can have a couple of %-sequences (see below) (default: ttext-%s.%e)
  • -format format-specifier β€” sets the file format used to save pages (see below) (default: ascii) πŸ’œ
  • -format list|help β€” lists every known file format and their options πŸ“œ
  • -vbi device β€” uses the device name you give it πŸ”₯ default: /dev/vbi, /dev/vbi0, /dev/video0, /dev/dvb/adapter0/demux0 get tried in this order 🧚
  • -finetune -4..4|auto β€” sets the fine tuning for the decoder ✨ for the right value, play with alevt πŸ™ˆ (default: 1)
  • -timeout seconds β€” if the pages can't be captured in seconds, the program terminates with exit status 1 after saving the pages it already got πŸ’€ the default is to wait forever πŸ₯Ή
  • -charset latin-1|latin-2|koi8-r|iso8859-7 β€” picks the character set to use 🌷 characters that aren't in the selected set get swapped for similar looking symbols (default: latin-1)
  • -progname name β€” specifies the program name when using the DVB interface πŸ“‘
  • -pid pid β€” specifies the teletext PID when using the DVB interface πŸ›°οΈ
  • --help β€” shows a summary of options 🫧
  • --version β€” shows the version of the program 🏷️

every non-option argument is taken as a page number 🎯 you can give subpages in the form ppp.ss, where ppp is the page number and ss is the subpage number πŸ’– if you don't specify a subpage, you get the first transmitted subpage of that page πŸ₯° the page gets saved with the format and name you gave before πŸ’…

🌸 Filenames

the filename can have %-sequences, and these are the ones that exist:

  • %% β€” a single % sign πŸ’…
  • %e β€” the default extension of the selected output format πŸŽ€
  • %p β€” the page number and an optional subpage number πŸ¦‹
  • %P β€” the page number 🌈
  • %S β€” the subpage number ✨
  • %s β€” the page number as you typed it on the command line 🫢

between the % sign and the letter you can add a field width, and the replacement string gets padded to that width πŸ’–

πŸ’œ Format specifiers

the output format and its options come from the format specifier 🧚 it's made up of one or more comma-separated words 🌷 the first word picks the output format and the rest are options for that format πŸŽ€ there are common options that work for every output format, and format-specific (private) ones too πŸ¦‹ some options look like assignments πŸ’… the order of options is totally free, but the format name has to be the very first word πŸ‘‘ an example:

ansi,reveal,bg=none

here ansi is the format, and reveal and bg=none are options πŸ“

right now there are only two common options: reveal and hide 🫧 they control whether the hidden characters on a page get shown in the output or not πŸ™ˆ the default is hide πŸ’€

the special format string list (or help) gives 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 when you're using the DVB interface πŸ“‘

if you use neither of those options, alevt outputs info about the currently accessible streams and uses the first of those PIDs as the default πŸ›°οΈ this output has the PIDs and names you can feed into -progname or -pid, in the context of the TV channel you've currently got tuned πŸ“Ί

🚨 DIAGNOSTICS

if the program timed out and some pages are missing, the exit status is 1 😭 on fatal errors, the exit status is 2 πŸ’€

πŸ“ NOTE

before you start this program, you have to set the TV channel with another program, like xawtv or set-tv πŸ“ΊπŸ«Ά

πŸ“ FILES

  • /dev/vbi*
  • /dev/dvb/adapter*/demux*

πŸ”— SEE ALSO

alevt(1x), alevt-date(1) 🌸

πŸ› BUGS

⚠️ if you give a page number that's never transmitted, the program will not terminate, so keep an eye on that one 😭

bug reports go to <https://gitlab.com/alevt/alevt> πŸ’Œ


Source: ALEVT-CAP(1) manual page, LINUX 1.8.3 🌈 bestie, you're officially a teletext capture expert now πŸ‘‘πŸ’– periodt ✨

πŸ“¦ where this page comes from