Digital Video Forums  

Go Back   Digital Video Forums > Other > Archive (Active) > Developers/Webmasters

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 9 Oct 2003, 12:28 AM   #1
Junior Member
Junior Member
 
Join Date: Oct 2003
Posts: 3
Question capture video & caption text

My application capture pictures' sequence from a live video.
It use Directshow interface ISampleGrabber
defined in Qedit.h

My question is :
How can my application draw caption text on top the pictures I record ?

The first idea was to take the data direct from the capture buffer
to record it first on a D3d9Surface with
D3DXLoadSurfaceFromMemory
BUT
the header file Qedit.h is not compatible with D3D headers later than version 7 and I did not find a function
like D3DXLoadSurfaceFromMemory for D3d7Surface ...
does it exist ?

The second idea was to draw caption text on top of the running live video, but how ?

Could someone help me, giving me perhaps a interesting links ?
marchencanard is offline   Reply With Quote
Old 8 Oct 2004, 06:26 AM   #2
Junior Member
Junior Member
 
Join Date: Oct 2004
Posts: 3
Default

Are you wanting to do real closed captions (IEA-608 standard)? First off, you will need a video card capable of capturing the FULL spectrum of lines in a video signal (i.e. the VBI - line 21). as well as the ability to output them as well. Minimum required is 720x486. As far as drawing captions on top of video, that depends on wether you want to do it in a subtitle mode where the captions are always present, or in a closed caption mode where they can be turned on and off.
unisay is offline   Reply With Quote
Old 11 Oct 2004, 05:56 PM   #3
Junior Member
Junior Member
 
Join Date: Oct 2003
Posts: 3
Default one year later !

I had to redefine theIID_ISampleGrabberCB interface

I think definition of a Globally Unique Identifier was missing in qedit.h

DEFINE_GUID( CLSID_SampleGrabber , 0x6B652FFF, 0x11FE, 0x4fce, 0x92, 0xad, 0x02, 0x66, 0xb5, 0xd7, 0xC7, 0x8F);
marchencanard is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT +10. The time now is 03:46 AM.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit dvdloc8.com