📄 qt4l_opening.html
字号:
<TITLE>Opening</TITLE><H1>Step 1: Open the file</H1>The first step in any Quicktime operation is to open the file. Includethe Quicktime header:<P><CODE>#include <quicktime.h></CODE><P>create a quicktime pointer:<P><CODE>quicktime_t *file;<P></CODE>and open the file in read or write mode. The following code opensa file in read only:<P><CODE>file = quicktime_open("test.mov", 1, 0));<P></CODE><P>Argument 1 is the path to a file. Argument 2 is a flag for readaccess. Argument 3 is a flag for write access. You can specify reador write access by setting these flags. Never specify read andwrite.<P>quicktime_open returns a NULL if the file couldn't be opened or theformat couldn't be recognized. Now you can do all sorts of operationson the file.<P>When you're done using the file, call<P><CODE>quicktime_close(quicktime_t *file);<BR></CODE><P><P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -