Teletext streaming. Generates a T42 teletext stream from teletext pages. This can be used with inserter hardware or a Raspberry Pi to generate a video signal that teletext TVs can decode and displa...
#ChatGPT suggests:
import time
import requests
# Set the URL of the Mastodon API endpoint for getting the latest news posts
API_URL = "https://mastodon.social/api/v1/timelines/public?local=true"
while True:
# Make a request to the API to get the latest news posts
response = requests.get(API_URL)
news_posts = response.json()
# Print each news post on its own line, scrolling the text across the screen
for post in news_posts:
print(post["content"])
time.sleep(0.5)
Fuck yes!
Teletext streaming. Generates a T42 teletext stream from teletext pages. This can be used with inserter hardware or a Raspberry Pi to generate a video signal that teletext TVs can decode and displa...
@Hampo I've spent hours and hours -- for BBC R&D -- parsing DVB streams, so I happen to know that the teletext line actually has an official table encoding within DVB, which is why I made the (frankly tongue in cheek) comment.
Nice to see people doing this sort of thing.
boss level of nerdiness :)
@steve The screenshot is from the online teletext editor at https://zxnet.co.uk/teletext/editor/ (I imported the teletext output into it to check it was correct).
But my code outputs a TTI page, which is a standard teletext format. It could absolutely be used with an inserter such as VBIT (https://github.com/peterkvt80/vbit2) to generate real VBI teletext.