![]() |
How to extract text VBI channels with CC Decoder?
2 Attachment(s)
I find it funny how in one of my first threads I talked about wanting to get some additional data from the VBI, and I wondered about Teletext and also the TEXT based service that was short-lived in the 80s on ABC (Program Listings Update Services) and certain PBS affiliates.
It has come to my attention that a recent fork on the GitHub cc_decoder that was made years ago, has been updated to support these TEXT channels! :laugh: Here's how to do it: 1.) You need a capture card that would be able to capture the VBI at the top. The datalines MUST be visible and interlaced for this to work, it can be any video file, as long as it's interlaced with line 21 datalines at the top. I have found that a few cards, like those Dazzle DVC100 models and Domesday Duplicator cards seem to output it well. I believe there are other cards that display the VBI at the top, but these two are the ones that come to mind. Even if here they're considered not the best for Video capture, for VBI support like this I guess you could consider them as useful? 2.) Install the latest fork of cc_decoder on github: https://github.com/eshaz/cc_decoder/ 3.) Install Python and modules like Pillow (I use a Linux computer to run Python scripts. 4.) Once installed, find your video file with the interlaced signal and line 21 datalines at the top. Run this command: Code:
python cc_decoder.py --ccformat text --bitlevel 60 PATH/TO/VIDEO_FILE.mpg -o PATH/TO/TXT_FILEHope this helps for those who want to extract an extra bit of metadata from VHS tapes. The extraction time for these were very quick too. Also if there's any other cards out there that capture the VBI by putting it at the top of the screen in the video signal, PLEASE let me know :D I have so far tested this method on NTSC VHS tapes. |
Here’s the other thread he had in case anyone else is looking for how to get CC information.
https://www.digitalfaq.com/forum/vid...zle-model.html |
I've tried messing around trying to capture VBI data. I can use a Sony DCR-SR100 HDD camcorder to record a tape onto it then extract the close captioning data from it's mpg file on the hard drive.
In terms of cards, I've had partly success using a Hauppauge WinTV-HVR-950. Tried using an IO-Data USB2 and while it does have a VBI pin, connecting it the same was as the WinTV does not dump the VBI data using GraphStudioNext. I can use the WinTV card to successfully dump the data as a raw file and convert it to SCC subtitles, I just can't get this avisynth script to work where it reads that raw data as a VBI signal that can placed on top of the video. I always get "file size is too small error" Would love to get that to work as I tend to always edit down any TV recording tapes I get. Quote:
|
1 Attachment(s)
I've tried messing around trying to capture VBI data. I can use a Sony DCR-SR100 HDD camcorder to record a tape onto it then extract the close captioning data from it's mpg file on the hard drive.
Quote:
Quote:
|
I do get tapes that have 2 pixels of VBI data on top but I guess that is not enough, hope I can rip the vbi data from the DCR SR100 and use Avisynth to display it on top of the video
So both the footage and vbi data get cut at the same time. Really only keep the commercials in which not all of them even have close captioning, nor the network bumpers Quote:
|
Technically all capture cards capture the entire 525/625 scan lines because all data is needed, but they only output the active video lines by driver limitation, I would assume that a special program can make the card spits out the entire frame, I haven't delved into this due to interest in it, There was a member here or at VH who once posted a full frame capture, here is a frame grab:
https://www.digitalfaq.com/forum/att...ow-720x525-jpg |
I really need to update this post, as now a new fork of cc_decoder has added support for Colored Text via an HTML file export. I've been having some issues updating Python on my Linux computer. The newer version requires Python 3.12+ and also Numpy as the new module.
|
So what device do you use to capture VBI data? A Dazzle? Was thinking on grabbing one myself to use just for VBI Data extraction.
|
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.