Teletext streaming. This replaces the earlier vbit-pi-stream using C++ and a much more CPU efficient method.
Branch: master
Clone or download
Latest commit 5ae6935 Nov 30, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes
.gitignore Added .bak to gitignore Aug 28, 2017
Makefile begin trying to sort out page deletion by having a list for each kind… Aug 3, 2018
README.md
TCPClient.cpp
TCPClient.h
carousel.cpp use the right cycle timings for carousel pages Aug 4, 2018
carousel.h Carousels Oct 13, 2016
command.cpp
command.h
configure.cpp
configure.h add --reverse option for vbit hardware Aug 20, 2018
debug.sh
example-vbit.conf re-use TTXline::validate to support 7-bit escape codes in config tile… Aug 12, 2018
filemonitor.cpp
filemonitor.h
getvbit2
go.sh
hamm-tables.h
hamm.c Initial commit Sep 13, 2016
hamm.h Initial commit Sep 13, 2016
newfor.cpp
newfor.h
normalpages.cpp
normalpages.h begin trying to sort out page deletion by having a list for each kind… Aug 3, 2018
packet.cpp add --reverse option for vbit hardware Aug 20, 2018
packet.h
packet830.cpp
packet830.h implement rest of packet 8/30 format 1 and get status display string … Sep 1, 2017
packetmag.cpp
packetmag.h Change the way IsReady decides that packets can go out, to fix proper… Nov 2, 2018
packetsource.cpp First version that works on a Pi Aug 21, 2017
packetsource.h Implement a system to load Packet 29 into each magazine and transmit … Sep 28, 2017
packetsubtitle.cpp
packetsubtitle.h
pagelist.cpp
pagelist.h
service.cpp add --reverse option for vbit hardware Aug 20, 2018
service.h * avoid crashes from bad config file lines Aug 13, 2018
specialpages.cpp
specialpages.h
tables.c
tables.h correct types to get rid of compiler warnings Jul 28, 2017
test.sh
ttxcodes.h Initial commit Sep 13, 2016
ttxline.cpp
ttxline.h Add C8 flag to header if the page changes. Sep 2, 2017
ttxpage.cpp new subpages default to cycle time of previous subpage Aug 14, 2018
ttxpage.h
ttxpagestream.cpp
ttxpagestream.h
vbit2
vbit2.cpp
vbit2.h

README.md

vbit2

An installation guide and more can be found in the wiki.

About VBIT

Teletext streaming. This takes a set up teletext files and generates a transmission stream on stdout. The transmission stream can be fed into raspi-teletext or any other application that needs a teletext packet stream. This is intended to replace vbit-pi-stream. It handles carousels better and uses ram to buffer pages rather than keeping them on file. It will use a lot more ram but also a lot less file system access and less CPU. It is a console application that can be compiled for Raspberry Pi or Windows.

This program is written in c++11. It was developed on Windows. I used Code::Blocks and added a compiler TDM-GCC-64. The toolchain change is needed to support c++11 and more specifically threads. Please contact me if you are trying to set up a windows development environment.

On Raspberry Pi it uses the default development environment. Just changed CFLAGS to CXXFLAGS and added flag -std=gnu++11

vbit2 probably outputs a lot of garbage on cerr depending on how I left it. You only want cout.

To get only cout run vbit2 like this

./vbit2 2> /dev/null

or on Windows

vbit2.exe 2> NUL