?? vc知識庫文章 - 點對點視頻會議程序videonet.mht
字號:
From: <由 Microsoft Internet Explorer 5 保存>
Subject: =?gb2312?B?VkPWqsq2v+LOxNXCIC0gteO21LXjytPGtbvh0umzzNDyOlZpZGVvTmV0?=
Date: Thu, 5 Apr 2007 16:36:41 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
type="text/html";
boundary="----=_NextPart_000_0221_01C777A0.971FE0F0"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
This is a multi-part message in MIME format.
------=_NextPart_000_0221_01C777A0.971FE0F0
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.vckbase.com/document/viewdoc/?id=1179
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>VC=D6=AA=CA=B6=BF=E2=CE=C4=D5=C2 - =
=B5=E3=B6=D4=B5=E3=CA=D3=C6=B5=BB=E1=D2=E9=B3=CC=D0=F2:VideoNet</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META =
content=3Dvideonet,h263,sound,video,VideoCapture,VFW,webcam,=CA=D3=C6=B5=BB=
=E1=D2=E9=20
name=3Dkeywords>
<META =
content=3Dvideonet,h263,sound,video,VideoCapture,VFW,webcam,=CA=D3=C6=B5=BB=
=E1=D2=E9=20
name=3Ddescription><LINK =
href=3D"http://www.vckbase.com/document/viewdoc/style.css"=20
rel=3Dstylesheet>
<META content=3D"MSHTML 6.00.2900.3059" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff leftMargin=3D0 topMargin=3D0>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>
<TBODY>
<TR bgColor=3D#a0d39b>
<TD width=3D"14%" height=3D78> <IMG height=3D13=20
src=3D"http://www.vckbase.com/document/image/vckcom.gif" =
width=3D109></TD>
<TD align=3Dright width=3D"76%"><A href=3D"http://www.sygui.com/"=20
target=3D_blank><IMG height=3D70=20
src=3D"http://www.vckbase.com/link/AD/sygui.gif" width=3D600 =
align=3Dmiddle=20
border=3D0 longDesc=3Dhttp://www.sygui.com></A><A=20
href=3D"http://www.longmai.com.cn/" target=3D_blank><IMG =
height=3D70=20
src=3D"http://www.vckbase.com/link/AD/longmai.gif" width=3D195 =
align=3Dmiddle=20
border=3D0></A></TD>
<TD vAlign=3Dbottom align=3Dright height=3D78><IMG height=3D27=20
src=3D"http://www.vckbase.com/document/image/earch.gif" =
width=3D89></TD></TR>
<TR bgColor=3D#eeeeee>
<TD colSpan=3D2><FONT class=3Dsmall color=3D#333333>::</FONT><A=20
href=3D"http://www.vckbase.com/"><FONT color=3Dblack><SPAN=20
class=3Dsmall>=CA=D7=D2=B3</SPAN></FONT></A> >> <A=20
href=3D"http://www.vckbase.com/document"><FONT color=3Dblack><SPAN =
class=3Dsmall>=CE=C4=B5=B5=D6=D0=D0=C4</SPAN></FONT></A> >> =
<A=20
href=3D"http://www.vckbase.com/document/journal"><SPAN =
class=3Dsmall><FONT=20
color=3Dblack>=D4=DA=CF=DF=D4=D3=D6=BE</FONT></SPAN></A> >> =
<A=20
=
href=3D"http://www.vckbase.com/document/listdoc.asp?sclsid=3D709"><SPAN=20
class=3Dsmall><FONT =
color=3Dblack>=CA=D3=C6=B5=BC=BC=CA=F5</FONT></SPAN></A></TD>
<TD class=3Dsmall align=3Dright width=3D"10%">[ <A=20
=
href=3D"http://www.vckbase.com/document/journal/redir.asp?journal=3D33"><=
SPAN=20
class=3Dsmall><FONT color=3Dblack>=D4=DA=CF=DF=D4=D3=D6=BE =
=B5=DA33=C6=DA</FONT></SPAN></A> ]=20
</TD></TR></TBODY></TABLE>
<DIV align=3Dcenter><BR>
<SCRIPT type=3Dtext/javascript><!--
google_ad_client =3D "pub-4159669282587342";
google_ad_width =3D 728;
google_ad_height =3D 90;
google_ad_format =3D "728x90_as";
google_ad_type =3D "image";
google_ad_channel =3D "";
//--></SCRIPT>
<SCRIPT src=3D"http://pagead2.googlesyndication.com/pagead/show_ads.js"=20
type=3Dtext/javascript>
</SCRIPT>
</DIV><BR>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>
<TBODY>
<TR>
<TD background=3Dhttp://www.vckbase.com/image/dotline2.gif=20
height=3D1></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>
<TBODY>
<TR>
<TD width=3D40 height=3D74>=A3=A0</TD>
<TD vAlign=3Dtop width=3D* height=3D74>
<FORM name=3Dform2 action=3D/SYS/script/find.asp method=3Dpost>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>
<TBODY>
<TR>
<TD><SPAN id=3Ddocinfo>[ <FONT =
color=3D#009900>=B7=AD=D2=EB=CE=C4=B5=B5</FONT> =
=B1=BE=CE=C4=CA=CA=BA=CF=B8=DF=BC=B6=B6=C1=D5=DF=20
=D2=D1=D4=C4=B6=C119642=B4=CE ]</SPAN></TD>
<TD align=3Dright><INPUT class=3Drect maxLength=3D20 size=3D10 =
name=3Dkeyword>=20
<SELECT class=3Drect name=3Dgclsid> <OPTION value=3D100=20
selected>=CE=C4=B5=B5</OPTION> <OPTION =
value=3D200>=B4=FA=C2=EB</OPTION> <OPTION=20
value=3D400>=B9=A4=BE=DF</OPTION></SELECT> <INPUT =
type=3Dimage height=3D15 width=3D21=20
src=3D"http://www.vckbase.com/document/image/go.gif" =
align=3DabsMiddle=20
border=3D0 name=3DimageField> =
</TD></TR></TBODY></TABLE></FORM>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>
<TBODY>
<TR>
<TD>
<P =
align=3Dcenter><STRONG>=B5=E3=B6=D4=B5=E3=CA=D3=C6=B5=BB=E1=D2=E9=B3=CC=D0=
=F2:VideoNet</STRONG><BR>=D7=F7=D5=DF=A3=BA<A=20
href=3D"mailto:nsry2002@yahoo.co.in">Nagareshwar=20
Talekar</A><BR>=B7=AD=D2=EB=A3=BAPOW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D0=CA=
=B9=D3=C3=C1=CBRecordSound=BA=CDPlaySound=C0=E0=A3=AC=D5=E2=C0=EF=CE=D2=BD=
=AB=CC=E1=B9=A9=D5=AA=D2=AA=CB=B5=C3=F7RecordSound=BA=CDPlaySound=C0=E0=B5=
=C4=CA=B9=D3=C3=A1=A3<BR></P><PRE>// Create and Start Recorder Thread
record=3Dnew RecordSound(this);
record->CreateThread();
// Create and Start Player Thread
play=3Dnew PlaySound1(this);
play->CreateThread();
// Start Recording
record->PostThreadMessage(WM_RECORDSOUND_STARTRECORDING,0,0);
// Start Playing
play->PostThreadMessage(WM_PLAYSOUND_STARTPLAYING,0,0);
// During audio recording, data will be available in the OnSoundData
// callback function of the RecordSound class. Here, you can place
// your code to send the data to remote host...
// To play the data received from the remote host
play->PostThreadMessage(WM_PLAYSOUND_PLAYBLOCK,size,(LPARAM)data);
// Stop Recording
record->PostThreadMessage(WM_RECORDSOUND_STOPRECORDING,0,0);
// Stop Playing
play->PostThreadMessage(WM_PLAYSOUND_STOPPLAYING,0,0);
// At last, to Stop the Recording Thread
record->PostThreadMessage(WM_RECORDSOUND_ENDTHREAD,0,0);
// To stop playing thread...
play->PostThreadMessage(WM_PLAYSOUND_ENDTHREAD,0,0);
</PRE>
=
<P><STRONG>=CA=D3=C6=B5=B2=B6=BB=F1</STRONG><BR><BR>=CA=B9=D3=C3VFW(Video=
For=20
=
Windows)API=BD=F8=D0=D0=CA=D3=C6=B5=B2=B6=BB=F1=A3=AC=CB=FC=CC=E1=B9=A9=C1=
=CB=CD=A8=B9=FDwebcam=BD=F8=D0=D0=CA=D3=C6=B5=B2=B6=BB=F1=A1=A3 =
VideoCapture.h=20
=
=BA=CDVideoCapture.cpp=B0=FC=BA=AC=C1=CB=B4=A6=C0=ED=CA=D3=C6=B5=B2=B6=BB=
=F1=B5=C4=B4=FA=C2=EB=A1=A3<BR><BR>=C8=E7=CF=C2=B4=FA=C2=EB=CB=B5=C3=F7=C1=
=CB=C8=E7=BA=CE=CA=B9=D3=C3=B8=C3=C0=E0=A3=BA</P><PRE>// Create instance =
of Class
vidcap=3Dnew VideoCapture();
// This is later used to call display function of the main
// dialog class when the frame is captured...
vidcap->SetDialog(this);
// This does lot of work, including connecting to the driver
// and setting the desired video format. Returns TRUE if
// successfully connected to videocapture device.
vidcap->Initialize();
// If successfully connected, you can get the BITMAPINFO
// structure associated with the video format. This is later
// used to display the captured frame...
this->m_bmpinfo=3D&vidcap->m_bmpinfo;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -