Re: Capturing Closed Caption Bitmaps

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Peter Feldbaumer (nobody_at_nowhere.in.the.net)
Date: 02/25/04


Date: Wed, 25 Feb 2004 15:01:08 +0100

EK wrote:
> I'm trying to capture the close captions from a DVD connected to my pc
> using a WinTV card.
>
> The initial part of identifying and selecting the card input (S-Video)
> and connecting the VBI are accomplished and currently the movie is
> playing (with subtitles).

This isn't going to work at all!!!

What you're doing here is to capture the image your dvd-player is
generating - nothing more is (and can be done) on the PC-side!
However your dvd-player is inserting cc (images/overlays/texts) onto the
video-output it generates (so note: your dvd-player "mixes" the dvd-video
and the cc-contents!). The dvd-player does NOT output some kind of
CC-"substream" (like tv-channels do) which can be decoded/captured
seperately from the video by your PC!

> My problem is as follows:
> Since I can't find a way to get the text/string directly I was
> thinking of capturing the close captions to bitmaps file and then
> using some OCR component extract the text strings.

See above - you can only capture the region of the screen which contains the
CCs (but only including the video behind it!). So all DShow-Components
related to CCs are completely useless for you - they can only be used
together with TV-broadcast!

> If there is a way to directly capture the close captions as text
> string I would love to know about, if not, capturing the close
> captions to bit maps files will do the job.

Use a PC-(software) DVD-Player (so no external dvd-player!) - this way you
can capture the CC-stream from a DVD via DShow (the dvd-decoder-filter will
have a cc-output-pin, which only contains the "sub-images/titles")

-- 
Peter Feldbaumer
p dot feldbaumer at utanet dot at


Relevant Pages

  • Re: Capturing Closed Caption Bitmaps
    ... I'm trying to capture the close captions from a DVD connected to my pc ... using a WinTV card. ... > * a dot angeli at biosys dot net ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Closed Captioning on Playback
    ... how to go from the NUV format file used in MythTV, ... CC is stored in the VBI (vertical blanking interval - the lines ... The BT878 capture chip on my WinTV ... "SageTV - Recording Closed Captions" ...
    (rec.video.desktop)
  • Closed Captioning on Playback
    ... I have a USB TV device where the CC works just fine. ... capture something, there are no captions. ... Having a hearing impairment, this ...
    (rec.video.desktop)
  • Re: AmCap sample app doesnt do audio with PVR-150 MCE LP card
    ... > fine with the older full height WinTV card, ... I do not need capture capability. ... AMCap doesn't always set the audio crossbar correctly, ...
    (microsoft.public.win32.programmer.directx.video)
  • Which is best!
    ... In past tried capturing vhs on pc with wintv card, ... Have purchased a new pc without a capture card fitted, ... Standalone dvd recorder hooked up to a tv and vhs recorder to get footage ...
    (alt.video.dvd)