faginbagin
February 27th, 2008, 11:03 PM
OK, so I've got a solution for the one feature I wanted that MythTV didn't provide "out of the box." namely, the ability to burn recordings to DVDs with closed captions. If you're interested, you can learn about my package, called cc2subtitles, here:
http://www.hbuus.com/cc2subtitles/
Here are some details that should help you decide whether cc2subtitles might be useful to you:
It only works with recordings made with the IVTV driver, the one used by Hauppauge analog cards. FWIW, I have a PVR-150.
See following post for news about support for more media formats.
It uses a library called libzvbi (also known as ZVBI - VBI Decoding Library). libzvbi is part of the Zapping project, a TV viewer for the Gnome desktop. libzvbi is available as a debian package in the debian and ubuntu repositories, and probably many other repositories, too.
libzvbi supports PAL/SECAM Teletext, probably better than NTSC CC, so there's a good chance my little utility will work with Teletext, too. I haven't tested it, but would be willing to, if I can get a hold of some PAL recordings that have VBI data. Or, perhaps someone else in PAL land would like to do the work?
It converts IVTV encoded VBI data into DVD subtitles. It takes advantage of the fact that libzvbi can produce .png (Portable Network Graphics) renderings of CC/Teletext. An included bash script then uses spumux (part of dvdauthor) to convert the .png images into DVD subtitles. I think the results are more appealing than other solutions that use spumux to encode text based subtitles. The results look like what you're used to seeing on your TV, including support for italics and special characters used in Spanish & French, as well as the musical note. Plus, it supports closed caption colors.
Note: some special characters requires a patch for libzvbi.
I'm pretty sure it won't work if you like to cut commercials out of your recordings. That's because of the timestamp data I use to figure out where to add subtitles to recordings. I've worked around this problem by patching mytharchive's script, mythburn.py, to add chapter marks at the commercial marks found by mythcommflag.
I'm using mythbuntu 8.04.2 with mythtv/mythplugins 0.21.0+fixes18207-0ubuntu4~hardy1.
http://www.hbuus.com/cc2subtitles/
Here are some details that should help you decide whether cc2subtitles might be useful to you:
It only works with recordings made with the IVTV driver, the one used by Hauppauge analog cards. FWIW, I have a PVR-150.
See following post for news about support for more media formats.
It uses a library called libzvbi (also known as ZVBI - VBI Decoding Library). libzvbi is part of the Zapping project, a TV viewer for the Gnome desktop. libzvbi is available as a debian package in the debian and ubuntu repositories, and probably many other repositories, too.
libzvbi supports PAL/SECAM Teletext, probably better than NTSC CC, so there's a good chance my little utility will work with Teletext, too. I haven't tested it, but would be willing to, if I can get a hold of some PAL recordings that have VBI data. Or, perhaps someone else in PAL land would like to do the work?
It converts IVTV encoded VBI data into DVD subtitles. It takes advantage of the fact that libzvbi can produce .png (Portable Network Graphics) renderings of CC/Teletext. An included bash script then uses spumux (part of dvdauthor) to convert the .png images into DVD subtitles. I think the results are more appealing than other solutions that use spumux to encode text based subtitles. The results look like what you're used to seeing on your TV, including support for italics and special characters used in Spanish & French, as well as the musical note. Plus, it supports closed caption colors.
Note: some special characters requires a patch for libzvbi.
I'm pretty sure it won't work if you like to cut commercials out of your recordings. That's because of the timestamp data I use to figure out where to add subtitles to recordings. I've worked around this problem by patching mytharchive's script, mythburn.py, to add chapter marks at the commercial marks found by mythcommflag.
I'm using mythbuntu 8.04.2 with mythtv/mythplugins 0.21.0+fixes18207-0ubuntu4~hardy1.