tvideoplay.htm

来自「智能监控delphi源码, 操作说明 1. 在两台微机上分别运行文件夹中的可」· HTM 代码 · 共 66 行

HTM
66
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0055)http://www.serveisgirona.com/delphi/video/videoplay.htm -->
<HTML><HEAD><TITLE>TVideoplay</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<P><B>TVideoplay component</B></P>
<P>The purpose of TVideoplay component is to access information inside an avi 
file, and read bitmaps or sounds stored in it.</P>
<P>You can play video with this component but I think the Delphi multimedia 
control will do this job better...</P>
<P>It could be a good begin for a video editing application...</P>
<TABLE width="100%" border=1>
  <TBODY>
  <TR>
    <TD width="13%"><B>Property</B></TD>
    <TD width="15%"><B>Datatype</B></TD>
    <TD width="62%"><B>Description</B></TD>
    <TD width="10%"><B>Type</B></TD></TR>
  <TR>
    <TD width="13%">Filename</TD>
    <TD width="15%">string</TD>
    <TD width="62%">The file to open when the property Active is set to 
true</TD>
    <TD width="10%">Published</TD></TR>
  <TR>
    <TD width="13%">Active</TD>
    <TD width="15%">Boolean</TD>
    <TD width="62%">Opens or closes the avi file (filename property)</TD>
    <TD width="10%">Public</TD></TR>
  <TR>
    <TD width="13%">Wait</TD>
    <TD width="15%">integer</TD>
    <TD width="62%">Number of miliseconds to wait between frames when play 
      procedure is called</TD>
    <TD width="10%">Public</TD></TR>
  <TR>
    <TD width="13%">Info</TD>
    <TD width="15%">TAviFileInfo</TD>
    <TD width="62%">Internal structure of used to call directly to video for 
      windows API </TD>
    <TD width="10%">Public</TD></TR></TBODY></TABLE>
<P>&nbsp;</P>
<TABLE width="100%" border=1>
  <TBODY>
  <TR>
    <TD width="39%"><B>Method definition</B></TD>
    <TD width="61%"><B>Description</B></TD></TR>
  <TR>
    <TD width="39%">procedure PlayVideo</TD>
    <TD width="61%">Plays the video using the wait property to calculate the 
      speed of playing, you can examine the source of this procedure to learn 
      how to access bitmap information from an avi file</TD></TR>
  <TR>
    <TD width="39%">procedure PlayAudio</TD>
    <TD width="61%">Plays the audio of the AVIFile, the function will end when 
      audio playing finish, you can learn here how to play audio from an avi 
    file</TD></TR>
  <TR>
    <TD width="39%">procedure ShowInfo</TD>
    <TD width="61%">Shows a dialog with video file information like data rate, 
      frames per second, file size, type of compression 
etc...</TD></TR></TBODY></TABLE>
<P>For more information on teh functions called by this component see win32.hlp 
and AVIFile function reference.</P></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?