🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
1 messages
1 total messages Started by FlyR Tue, 09 Nov 2004 15:23
how to select video source from video card which includes video and s-videlo??
#390
Author: 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);
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads