Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Produce PES for injection into DVB TS #38

Open
SonnyWalkman opened this issue Oct 27, 2023 · 2 comments
Open

[Enhancement] Produce PES for injection into DVB TS #38

SonnyWalkman opened this issue Oct 27, 2023 · 2 comments

Comments

@SonnyWalkman
Copy link

SonnyWalkman commented Oct 27, 2023

Hello @ali1234,
Is there any chance to allow the output to be DVB compliant and produce 42 byte PES to inject into a DVB TS?

I'm using a Python app to convert 2 static T42 pages 898 and 899 and inject using TSduck into DVB-T TS which and works well. The secret sauce is in ttx_gen.py (attached) which both formats and produces a timed PCR to sync for TS muxing . I'm developing in go with is similar to C and could modify the code to suit.
I'm looking to be usable on both Linux and Windows.

The idea of a few dynamic pages similar to the raspi-teletex demo is appealing. Updating the header with machine date and time and produce T42 output via std or UDP pipe.

Here's is what I'd envisage for dynamic pages.

Page 100 Teletext Index,
Page 102 Weather which gathers weather from external weather site Underground etc using API key.
Page 104 Stats bars graph for CPU, GPU and RAM usage temp etc.
Page 105 (Fish tank) https://www.youtube.com/watch?v=zFkBHuchOnk

ttxgen.zip

@ali1234
Copy link
Owner

ali1234 commented Oct 28, 2023

This is completely out of scope for raspi-teletext. It could be added to vhs-teletext as an output format but that's python anyway.

Why not just adapt your python script to read from stdin and pipe through it?

@ali1234
Copy link
Owner

ali1234 commented Oct 28, 2023

If you are just looking for some dynamic pages, vhs-teletext has a whole API for building them and a couple of examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants