for everyone who is interested, I'd like to share my subtitle-grabber.
It captures the mpeg-stream from an input device/file, default: /dev/video0 and writes it to an output device/file, default: /video/test.mpg and at the same time, grabs the subtitles (default: teletext page 888) from a vbi-device, default: /dev/vbi0 and writes the subtitles it finds in .srt format to an outputfile, default: /video/test.srt.
It is now possible to make a user job in MythTV, to automatically generate subtitles after recording. Here is an example of such a user job:
/usr/local/bin/ttsubgrab -m %DIR%/%FILE% -o /dev/video16 -q i -v /dev/vbi4 -e %STARTTIME%-%ENDTIME%
Mind you: this user job will only work on a PVR-350
a log-file will be written to /video/test_vbi.log. No house keeping is done and this file will grow, so make sure to delete it every now and then.
Mind you: PAL/teletext only
the tool is called 'ttsubgrab' and a zipfile containing the sources (written in fpc (Free Pascal)) and a ready-compiled executable can be found on this site.
For changes, please read the changelog.
Reactions welcome, to ttsubgrab_at_duinkerken.nu