/usr/share/doc/libquicktime-doc/qt4l_opening.html is in libquicktime-doc 2:1.2.4-4ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | <TITLE>Opening</TITLE>
<H1>Step 1: Open the file</H1>
The first step in any Quicktime operation is to open the file. Include
the 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 opens
a 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 read
access. Argument 3 is a flag for write access. You can specify read
or write access by setting these flags. Never specify read and
write.<P>
quicktime_open returns a NULL if the file couldn't be opened or the
format couldn't be recognized. Now you can do all sorts of operations
on the file.<P>
When you're done using the file, call<P>
<CODE>
quicktime_close(quicktime_t *file);<BR>
</CODE>
<P>
<P>
|