分开录制,用AVI制作软件混音和成。(为什么不能给分100以上?)--此题不算分!---------------什么意思??没有分嘛?
解决方案 »
- insert 后,怎样得到access中自动编号ID的值?
- 求几个控件名ExPressDBTree 1.31,QuantumGrid 3.22 ,ReportBuilder 7.03这三个控件我在网上找了很久,却没找到,
- 如何将DBGrid中的数据库数据存成文本格式? //提问
- 请推荐一些资料吧
- “还原数据库”功能 怎么样动态编程实现(用ADO+SQL server 2000)
- ISTOOL 编译出错
- 如何在动态建立paradox表的时候加入密码?
- 关于TImage动态切换图片的问题?
- 一个SQL 数据库的存储过程问题
- 請各位高手幫幫忙.急~~在線等
- 我想让标题栏左边的图标不停的变,用Timer imagelist怎么实现,给10分
- 如何用SQL语句取得某一字段中给定长度的所有记录?
unit Unit1; interface uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls; type
TForm1 = class(TForm)
Panel1: TPanel;
OpenVideo: TButton;
CloseVideo: TButton;
GrabFrame: TButton;
SaveBMP: TButton;
StartAVI: TButton;
StopAVI: TButton;
SaveDialog1: TSaveDialog;
procedure FormCreate(Sender: TObject);
procedure OpenVideoClick(Sender: TObject);
procedure CloseVideoClick(Sender: TObject);
procedure GrabFrameClick(Sender: TObject);
procedure SaveBMPClick(Sender: TObject);
procedure StartAVIClick(Sender: TObject);
procedure StopAVIClick(Sender: TObject);
private
{ Private declarations }
hWndC : THandle;
CapturingAVI : bool;
public
{ Public declarations }
end; var
Form1: TForm1; implementation {$R *.DFM} const WM_CAP_START = WM_USER;
const WM_CAP_STOP = WM_CAP_START + 68;
const WM_CAP_DRIVER_CONNECT = WM_CAP_START + 10;
const WM_CAP_DRIVER_DISCONNECT = WM_CAP_START + 11;
const WM_CAP_SAVEDIB = WM_CAP_START + 25;
const WM_CAP_GRAB_FRAME = WM_CAP_START + 60;
const WM_CAP_SEQUENCE = WM_CAP_START + 62;
const WM_CAP_FILE_SET_CAPTURE_FILEA = WM_CAP_START + 20; function capCreateCaptureWindowA(lpszWindowName : PCHAR;
dwStyle : longint;
x : integer;
y : integer;
nWidth : integer;
nHeight : integer;
ParentWin : HWND;
nId : integer): HWND;
STDCALL EXTERNAL 'AVICAP32.DLL'; procedure TForm1.FormCreate(Sender: TObject);
begin
CapturingAVI := false;
hWndC := 0;
SaveDialog1.Options :=
[ofHideReadOnly, ofNoChangeDir, ofPathMustExist]
end; procedure TForm1.OpenVideoClick(Sender: TObject);
begin
hWndC := capCreateCaptureWindowA('My Own Capture Window',
WS_CHILD or WS_VISIBLE ,
Panel1.Left,
Panel1.Top,
Panel1.Width,
Panel1.Height,
Form1.Handle,
0);
我想做一个可录制屏幕内容和声音的程序,现在可以录屏幕了,但却没法同步录音。