Mkvmerge not recognizing teletext subtitle conversation font colors

Your main works fine, checked it with previous results. Thanks.

A small compile problem:

           CXX src/input/teletext_to_srt_packet_converter.cpp
src/input/teletext_to_srt_packet_converter.cpp: In member function ‘std::string teletext_to_srt_packet_converter_c::decode_color_text(unsigned char)’:
src/input/teletext_to_srt_packet_converter.cpp:291:10: warning: comparison is always false due to limited range of data type [-Wtype-limits]
  291 |   if ((c < 0x0) || (c > 0x07))
      |        ~~^~~~~

I am the maintainer of GitHub - angelaschmid/lossless_cut: Lossless Cut (export recording to mkv video file) for MyhtTV
The original code was developed 10 years ago. The original developer uses a detour to extract the subtitles to a srt file using ccextractor, create a new mkv with the srt, and afterwards create another mkv with splitting. This workflow has further capabilities for subtitle manipulations (which I do not use).

I changed the code for a “Passthrough”, using mkvmerge capabilities to create a S_TEXT stream and splitting, without using the detour.

My question: since which release of mkvtoolnix mkvmerge supports the conversion from teletext subtitles to S_TEXT stream?

I’ve fixed that already, just haven’t pushed it yet.

You can usually find out such things by looking at the NEWS.md file & searching from the bottom up. That’s what I do, too. In this case: 7.3.0 from 2014-10-22.

Addendum: there were quite a few bugs in the teletext handling that were fixed over several versions. I probably wouldn’t recommend using releases before 9.7.0.