⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 motion_guide.html

📁 motion motion
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<table cellspacing="0" id="table2" cellpadding="0" class="twikiTable" rules="rows" border="1">	<thead>		<tr class="twikiTableOdd twikiTableRowdataBgSorted0 twikiTableRowdataBg0">			<th bgcolor="#687684" valign="top" class="twikiTableCol0 twikiFirstCol"> <a rel="nofollow" href="http://www.lavrsen.dk/twiki/bin/view/Motion/MotionGuideOneLargeDocument&amp;amp;sortcol=0;table=2;up=0#sorted_table" title="Sort by this column"><font color="#ffffff">Library</font></a> </th>			<th bgcolor="#687684" valign="top" class="twikiTableCol1"> <a rel="nofollow" href="http://www.lavrsen.dk/twiki/bin/view/Motion/MotionGuideOneLargeDocument&amp;amp;sortcol=1;table=2;up=0#sorted_table" title="Sort by this column"><font color="#ffffff">RPM Packages</font></a> </th>			<th bgcolor="#687684" valign="top" class="twikiTableCol2 twikiLastCol"> <a rel="nofollow" href="http://www.lavrsen.dk/twiki/bin/view/Motion/MotionGuideOneLargeDocument&amp;amp;sortcol=2;table=2;up=0#sorted_table" title="Sort by this column"><font color="#ffffff">Debian Packages</font></a> </th>		</tr>	</thead>	<tbody>		<tr class="twikiTableEven twikiTableRowdataBgSorted0 twikiTableRowdataBg0">			<td bgcolor="#ffffff" valign="top" class="twikiTableCol0 twikiFirstCol twikiLast"> libavcodec, libavformat </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol1 twikiLast"> ffmpeg and ffmpeg-devel or install from source </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol2 twikiLastCol twikiLast"> libavcodec-dev  libavcodec0d libavformat-dev libavformat0d (*) </td>		</tr>	</tbody></table><p /><strong>Debian</strong> has not provided deb packages for ffmpeg due patent issues. However this is about to change so checkout for availability of newer versions of debian ffmpeg debs. You can build yourself from source or from <a href="http://debian-multimedia.org/" rel="nofollow" target="_top">Christian Marillat website</a> or apt repository. <pre>deb http://www.debian-multimedia.org stable main # ( etch )deb http://www.debian-multimedia.org testing main # ( lenny )deb http://www.debian-multimedia.org unstable main # ( sid )</pre>Add the suitable line to your /etc/apt/sources.list and run this: <pre>apt-get update ; apt-get -y install libavcodec-dev libavcodec0d libavformat-dev libavformat0d</pre><p />For logging in <strong>MySQL</strong> you need this library:<table cellspacing="0" id="table3" cellpadding="0" class="twikiTable" rules="rows" border="1">	<thead>		<tr class="twikiTableOdd twikiTableRowdataBgSorted0 twikiTableRowdataBg0">			<th bgcolor="#687684" valign="top" class="twikiTableCol0 twikiFirstCol"> <a rel="nofollow" href="http://www.lavrsen.dk/twiki/bin/view/Motion/MotionGuideOneLargeDocument&amp;amp;sortcol=0;table=3;up=0#sorted_table" title="Sort by this column"><font color="#ffffff">Library</font></a> </th>			<th bgcolor="#687684" valign="top" class="twikiTableCol1"> <a rel="nofollow" href="http://www.lavrsen.dk/twiki/bin/view/Motion/MotionGuideOneLargeDocument&amp;amp;sortcol=1;table=3;up=0#sorted_table" title="Sort by this column"><font color="#ffffff">RPM Packages</font></a> </th>			<th bgcolor="#687684" valign="top" class="twikiTableCol2 twikiLastCol"> <a rel="nofollow" href="http://www.lavrsen.dk/twiki/bin/view/Motion/MotionGuideOneLargeDocument&amp;amp;sortcol=2;table=3;up=0#sorted_table" title="Sort by this column"><font color="#ffffff">Debian Packages</font></a> </th>		</tr>	</thead>	<tbody>		<tr class="twikiTableEven twikiTableRowdataBgSorted0 twikiTableRowdataBg0">			<td bgcolor="#ffffff" valign="top" class="twikiTableCol0 twikiFirstCol twikiLast"> libmysqlclient </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol1 twikiLast"> mysql and mysql-devel </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol2 twikiLastCol twikiLast"> libmysqlclient15-off and libmysqlclient15-dev </td>		</tr>	</tbody></table><p />For logging in <strong>PostgreSQL</strong> you need this library:<table cellspacing="0" id="table4" cellpadding="0" class="twikiTable" rules="rows" border="1">	<thead>		<tr class="twikiTableOdd twikiTableRowdataBgSorted0 twikiTableRowdataBg0">			<th bgcolor="#687684" valign="top" class="twikiTableCol0 twikiFirstCol"> <a rel="nofollow" href="http://www.lavrsen.dk/twiki/bin/view/Motion/MotionGuideOneLargeDocument&amp;amp;sortcol=0;table=4;up=0#sorted_table" title="Sort by this column"><font color="#ffffff">Library</font></a> </th>			<th bgcolor="#687684" valign="top" class="twikiTableCol1"> <a rel="nofollow" href="http://www.lavrsen.dk/twiki/bin/view/Motion/MotionGuideOneLargeDocument&amp;amp;sortcol=1;table=4;up=0#sorted_table" title="Sort by this column"><font color="#ffffff">RPM Packages</font></a> </th>			<th bgcolor="#687684" valign="top" class="twikiTableCol2 twikiLastCol"> <a rel="nofollow" href="http://www.lavrsen.dk/twiki/bin/view/Motion/MotionGuideOneLargeDocument&amp;amp;sortcol=2;table=4;up=0#sorted_table" title="Sort by this column"><font color="#ffffff">Debian Packages</font></a> </th>		</tr>	</thead>	<tbody>		<tr class="twikiTableEven twikiTableRowdataBgSorted0 twikiTableRowdataBg0">			<td bgcolor="#ffffff" valign="top" class="twikiTableCol0 twikiFirstCol twikiLast"> libpq </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol1 twikiLast"> postgresql-libs and postgresql-devel </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol2 twikiLastCol twikiLast"> libpq-dev and libpq4 </td>		</tr>	</tbody></table><p /><p /><h2><a name="Configure_Script"></a> <a href="http://www.lavrsen.dk/twiki/bin/view/Motion/ConfigureScript" class="twikiLink">Configure Script</a> </h2>Configure is script that you run to setup the build environment for the C-compiler. It generates the "Makefile" which the program "make" uses to compile and install the software.<p />To run configure your current directory must be the motion directory. You type<p /><code>./configure</code><p />You can add the parameter <code>./configure --help</code> to get help on the different switches.<p />This is walk through of the options.<p /> <a name="edittable1"></a><div class="editTable"><form name="edittable1" action="http://www.lavrsen.dk/twiki/bin/viewauth/Motion/ConfigureScript#edittable1" method="post"><input type="hidden" name="ettablenr" value="1" /><input type="hidden" name="etedit" value="on" /><table cellspacing="0" id="table5" cellpadding="0" class="twikiTable" rules="rows" border="1">	<thead>		<tr class="twikiTableOdd twikiTableRowdataBgSorted0 twikiTableRowdataBg0">			<th width="160" bgcolor="#687684" align="left" valign="top" class="twikiTableCol0 twikiFirstCol"> <font color="#ffffff">Option</font> </th>			<th bgcolor="#687684" align="left" valign="top" class="twikiTableCol1"> <font color="#ffffff">Description <br />Defaults for the options <br />are specified in brackets [ ]</font> </th>			<th bgcolor="#687684" align="left" valign="top" class="twikiTableCol2 twikiLastCol"> <font color="#ffffff">Editors comment</font> </th>		</tr>	</thead>	<tbody>		<tr class="twikiTableEven twikiTableRowdataBgSorted0 twikiTableRowdataBg0">			<td width="160" bgcolor="#ffffff" valign="top" class="twikiTableCol0 twikiFirstCol"> -h, --help </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol1"> display this help and exit </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol2 twikiLastCol"> &nbsp; </td>		</tr>		<tr class="twikiTableOdd twikiTableRowdataBgSorted1 twikiTableRowdataBg1">			<td width="160" bgcolor="#edf4f9" valign="top" class="twikiTableCol0 twikiFirstCol"> --help=short </td>			<td bgcolor="#edf4f9" valign="top" class="twikiTableCol1"> display options specific to this package </td>			<td bgcolor="#edf4f9" valign="top" class="twikiTableCol2 twikiLastCol"> This command shows the options special to motion. Recommended </td>		</tr>		<tr class="twikiTableEven twikiTableRowdataBgSorted0 twikiTableRowdataBg0">			<td width="160" bgcolor="#ffffff" valign="top" class="twikiTableCol0 twikiFirstCol"> --help=recursive </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol1"> display the short help of all the included packages </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol2 twikiLastCol"> &nbsp; </td>		</tr>		<tr class="twikiTableOdd twikiTableRowdataBgSorted1 twikiTableRowdataBg1">			<td width="160" bgcolor="#edf4f9" valign="top" class="twikiTableCol0 twikiFirstCol"> -V, --version </td>			<td bgcolor="#edf4f9" valign="top" class="twikiTableCol1"> display version information and exit </td>			<td bgcolor="#edf4f9" valign="top" class="twikiTableCol2 twikiLastCol"> Gives no useful information </td>		</tr>		<tr class="twikiTableEven twikiTableRowdataBgSorted0 twikiTableRowdataBg0">			<td width="160" bgcolor="#ffffff" valign="top" class="twikiTableCol0 twikiFirstCol"> -q, --quiet, --silent </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol1"> do not print `checking...' messages </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol2 twikiLastCol"> Not very useful. Output to screen is only a few lines anyway. </td>		</tr>		<tr class="twikiTableOdd twikiTableRowdataBgSorted1 twikiTableRowdataBg1">			<td width="160" bgcolor="#edf4f9" valign="top" class="twikiTableCol0 twikiFirstCol"> --cache-file=FILE </td>			<td bgcolor="#edf4f9" valign="top" class="twikiTableCol1"> cache test results in FILE. [disabled] </td>			<td bgcolor="#edf4f9" valign="top" class="twikiTableCol2 twikiLastCol"> No function </td>		</tr>		<tr class="twikiTableEven twikiTableRowdataBgSorted0 twikiTableRowdataBg0">			<td width="160" bgcolor="#ffffff" valign="top" class="twikiTableCol0 twikiFirstCol"> -C, --config-cach </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol1"> alias for `--cache-file=config.cache' </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol2 twikiLastCol"> No function </td>		</tr>		<tr class="twikiTableOdd twikiTableRowdataBgSorted1 twikiTableRowdataBg1">			<td width="160" bgcolor="#edf4f9" valign="top" class="twikiTableCol0 twikiFirstCol"> -n, --no-create </td>			<td bgcolor="#edf4f9" valign="top" class="twikiTableCol1"> do not create output files </td>			<td bgcolor="#edf4f9" valign="top" class="twikiTableCol2 twikiLastCol"> Used for testing if other switches produce error - without writing anything to the disk </td>		</tr>		<tr class="twikiTableEven twikiTableRowdataBgSorted0 twikiTableRowdataBg0">			<td width="160" bgcolor="#ffffff" valign="top" class="twikiTableCol0 twikiFirstCol"> --srcdir=DIR </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol1"> find the sources in DIR. [configure dir or `..'] </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol2 twikiLastCol"> DIR is a directory path. Editor recommends having the current directory being the motion installation directory and not using this switch. Then it defaults to the same directory as where the configure script is which is the current directory. </td>		</tr>		<tr class="twikiTableOdd twikiTableRowdataBgSorted1 twikiTableRowdataBg1">			<th width="160" bgcolor="#687684" align="left" valign="top" class="twikiTableCol0 twikiFirstCol"> <font color="#ffffff">Installation directories:</font> </th>			<th bgcolor="#687684" align="left" valign="top" class="twikiTableCol1"> <font color="#ffffff">&nbsp;</font> </th>			<th bgcolor="#687684" align="left" valign="top" class="twikiTableCol2 twikiLastCol"> <font color="#ffffff">&nbsp;</font> </th>		</tr>		<tr class="twikiTableEven twikiTableRowdataBgSorted0 twikiTableRowdataBg0">			<td width="160" bgcolor="#ffffff" valign="top" class="twikiTableCol0 twikiFirstCol"> --prefix=PREFIX </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol1"> install architecture-independent files in PREFIX <br />[/usr/local] </td>			<td bgcolor="#ffffff" valign="top" class="twikiTableCol2 twikiLastCol"> The default /usr/local means that the executable binary "motion" is installed in /usr/local/bin, the manual page in /usr/local/man/man1, the document files in /usr/local/docs/motion-version, configuration file in /usr/local/etc, and some examples config files in /usr/local/examples/motion-versionEditor recommends keeping this default setting. <br />If you are experimenting with many parallel versions it may be interesting to set the PREFIX to e.g. /usr/local/motion and then add /usr/local/motion/bin to your search path (or simply cd /usr/local/motion/bin before execution). <br />This way you can change version just by changing the symbolic link in /usr/local/motion as suggested earlier in this guide. <br />If you are installing the software on a machine where you have no access to the /usr/local but have write access to a home directory, then you should change this to point to a directory within your home tree. <br />Example: --prefix=$HOME </td>		</tr>

⌨️ 快捷键说明

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