🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #390

how to select video source from video card which includes video and s-videlo??

#390
From: FlyR
Date: Tue, 09 Nov 2004 15:23
40 lines
1568 bytes
I want to select s-video for my program. But my program signal is from TV
video. So how to swith signal source for my program?

Please help me. My program as following:



                                                    Thanx




john wild



HWND hCapWnd;

BITMAPINFO B;

HDC hCapDc;

hCapWnd = capCreateCaptureWindow("My Capture
Window",WS_CHILD|WS_VISIBLE,0,0,640,480,Form1->Handle,0);

hCapDc=GetDC(hCapWnd);

capDriverConnect(hCapWnd,0);

capPreview(hCapWnd,true);

capPreviewRate(hCapWnd,1000/100);

capOverlay(hCapWnd,true);

B.bmiHeader.biBitCount=24;

capGetVideoFormat(hCapWnd,&B,sizeof(BITMAPINFO));

SetWindowPos(hCapWnd,0,0,0,640,480,0);
Technical Details
Message-ID: <4190e0b9@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!prodigy.com!prodigy.com!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,a5e12eefbc17bcbf,start
X-Google-Attributes: gid10d0fc,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "FlyR" <john.wild@msa.hinet.net>
Newsgroups: borland.public.cppbuilder.multimedia
Subject: how to select video source from video card which includes  video and s-videlo??
Date: Tue, 9 Nov 2004 23:23:41 +0800
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 218.171.169.28
Message-ID: <4190e0b9@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1100013753 218.171.169.28 (9 Nov 2004 07:22:33 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!prodigy.com!prodigy.com!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail