Re: Capturing Closed Caption Bitmaps
From: EK (ek_trash_at_yahoo.com)
Date: 02/25/04
- Next message: Pepelaz: "Re: How to convert wmv movies to mpg"
- Previous message: Portly Stout: "Re: newbie directx8 sdk and playcap question"
- In reply to: Alessandro Angeli [MVP::DigitalMedia]: "Re: Capturing Closed Caption Bitmaps"
- Next in thread: Peter Feldbaumer: "Re: Capturing Closed Caption Bitmaps"
- Reply: Peter Feldbaumer: "Re: Capturing Closed Caption Bitmaps"
- Messages sorted by: [ date ] [ thread ]
Date: 24 Feb 2004 18:54:45 -0800
Gladly !
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).
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.
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.
Thanks again for your help,
Eyal.
"Alessandro Angeli [MVP::DigitalMedia]" <nobody@nowhere.in.the.net> wrote in message news:<eXyAtBx#DHA.3712@tk2msftngp13.phx.gbl>...
> EK wrote:
>
> > Thanks Alessandro,
> >
> > So any ideas how can I save the CC as bitmaps ?
> >
> > I'm trying to set the "Line 21 Decoder" by setting it
> > using:
> > hr = m_pGraphBuilder2->RenderStream(&PIN_CATEGORY_VBI, 0,
> > m_pCap, 0, m_pMux);
> > if (FAILED(hr))
> > {
> > hr = m_pGraphBuilder2->RenderStream(&PIN_CATEGORY_CC,
> > 0, m_pCap, 0, m_pMux); }
>
> Care to elaborate on what you're doing, why it doesn't
> satisfy you, what errors you get and what you want to
> accomplish?
>
>
>
> > "Alessandro Angeli [MVP::DigitalMedia]"
> > <nobody@nowhere.in.the.net> wrote in message
> > news:<egyUVFk#DHA.2644@TK2MSFTNGP11.phx.gbl>...
> >> EK wrote:
> >>
> >>> Hi All,
> >>>
> >>> I'm trying to Capture the Closed Caption as Bitmaps
> >>> (C++). I've followed all MSDN's instructions (render
> >>> the CC or VBI pin to the mux filter and added the
> >>> file-writing section of the filter graph) but all I'm
> >>> getting is an AVI file (always 128kb) that cannot be
> >>> played using the media player.
> >>>
> >>> Is file-writing section is the way to go ?
> >>> Does it suppose to save the closed caption's bitmaps to
> >>> the avi file or can I save it directly to bmp files ?
> >>> Is there anyway to capture the closed captioning as text
> >>> (string) ?
> >>>
> >>> Any help would be very appreciated.
> >>
> >> CC is encoded text data which does not make much sense
> >> when written to AVI. The "Line 21 Decoder" (or the "WST
> >> Decoder") will render the line-21 text data from the CC
> >> to bitmap that maybe you can use.
> >>
> >>
> >> --
> >>
> >> /**
> >> * Alessandro Angeli
> >> *
> >> * MVP::DigitalMedia
> >> *
> >> * a dot angeli at biosys dot net
> >> */
>
> --
>
> /**
> * Alessandro Angeli
> *
> * MVP::DigitalMedia
> *
> * a dot angeli at biosys dot net
> */
- Next message: Pepelaz: "Re: How to convert wmv movies to mpg"
- Previous message: Portly Stout: "Re: newbie directx8 sdk and playcap question"
- In reply to: Alessandro Angeli [MVP::DigitalMedia]: "Re: Capturing Closed Caption Bitmaps"
- Next in thread: Peter Feldbaumer: "Re: Capturing Closed Caption Bitmaps"
- Reply: Peter Feldbaumer: "Re: Capturing Closed Caption Bitmaps"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|