https://github.com/girst/ttxd-mirror-of-git.gir.st
https://git.gir.st/ttxd.git - Seldomly Updated Mirror: A teletext to plain text converter and viewer - the Twitter of editorial news.
https://github.com/girst/ttxd-mirror-of-git.gir.st
Last synced: about 1 month ago
JSON representation
https://git.gir.st/ttxd.git - Seldomly Updated Mirror: A teletext to plain text converter and viewer - the Twitter of editorial news.
- Host: GitHub
- URL: https://github.com/girst/ttxd-mirror-of-git.gir.st
- Owner: girst
- License: gpl-3.0
- Created: 2017-03-25T12:55:12.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-16T18:38:06.000Z (almost 6 years ago)
- Last Synced: 2025-04-06T02:12:29.550Z (about 2 months ago)
- Language: C
- Homepage: https://git.gir.st/ttxd.git
- Size: 223 KB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
- awesome-teletext - A teletext to plain text converter and viewer - the Twitter of editorial news
README
TELETEXT SERVER - DVB-T2 Version
================================Updated to work with DVB-T2 and the Astrometa DVB-T2 USB Stick; many improvements in `html.pl`.
Installation
------------1. `./install.sh` as root
2. create channels.conf with `w_scan` or others; I'm using VDR format
`w_scan -a /dev/dvb/adapter0/frontend1 -cAT -vv > channels.conf`
4. use `ttxd.service` or `serv.sh` to start the service.Usage
-----1. run `serv.sh` to tune the TV card and start spooling pages
2. generate an HTML file by running `ORFText.cgi`Notes and Caveats
-----------------* The Astrometa DVB-T2 is very iffy: make sure firmware (`dvb-demod-mn88473-01.fw`) is in place and monitor dmesg when connecting/tuning (I2C errors, firmware upload).
Only fix seems to be a manual reconnect (TODO: splice relay into 5V wire of USB cable)
* `dvbtext` had the line `if (buf[4+i*46]==2) {` replaced with `if (buf[4+i*46]==3) {` or no vtx files will be generated
* The spool directory and DVB adapter number are hardcoded in `dvbtext`; its source is in `./src/dvbtext-src/dvbtext.c`.
* `serv.sh` does not check if the card has been tuned; it simply waits 5 seconds.
* The spool directory is `/run/ttxd/spool/`, to avoid disk wear.
* The accompaning systemd service is `/etc/systemd/system/ttx.service`, where the names of the processes `dvbtext`, `tzap`, and `thttpd` are hardcoded.
* since `killall thttpd` is used to start and stop the service, rename that executable if you already running an instance of `thttpd` for other web services.
* in VDR format, teletext PIDs are directly visible: `awk -F':' '{if ($8 != 0){print $1, " : ", $8}}' channels.conf|column -t -s':'`Notes
-----Currently, the service is using `/dev/dvb/adapter0/{frontend1,demux0}` (USB) for ORF via DVB-T2.
License
-------(C) 2017 Tobias Girstmair
This software is distributed under the GNU General Public License 3.Included Software
-----------------This package contains software of third parties (excluded from license):
* dvbtext - Dave Chapman, GNU GPL v2+ (software sightly adapted)
* vtx2ascii - Gerd, Martin Buck, GNU GPL v2(+?) (software sightly adapted)
* thttpd - Jef Poskanzer, 2 clause BSD (modified)
* tzap-t2 - Igor M. Liplianin, GNU GPL v2+ (used as-is)