Process_sample.cgi, 2 process_sample.cgi – Google Flix Engine Linux Reference Manual User Manual

Page 420

Advertising
background image

414

Flix Engine Linux Page Documentation

<tr>

<th><abbr title="Default: SwfOnMovieEndNothing">FE2_SWF_ON_END_OPTION</abbr></th>

<td>

<select name=’Flix2_MuxerSetParam:FE2_SWF_ON_END_OPTION’>

<option value=""></option>

<option value="SwfOnMovieEndNothing">SwfOnMovieEndNothing</option>

<option value="SwfOnMovieEndSTOP">SwfOnMovieEndSTOP</option>

<option value="SwfOnMovieEndLoop">SwfOnMovieEndLoop</option>

<option value="SwfOnMovieEndUnload">SwfOnMovieEndUnload</option>

<option value="SwfOnMovieEndLoadMovie">SwfOnMovieEndLoadMovie</option>

</select>

</td>

</tr>

<tr>

<th>FE2_SWF_ON_END_URL</th>

<td><input type=’text’ name=’Flix2_MuxerSetParamAsStr:FE2_SWF_ON_END_URL’></td>

</tr>

</table>

<!-- END - SWF muxer parameters -->

<!-- WEBM muxer parameters -->

<table id=’webmtable’ class=’hidden’>

<tr>

<th>(FE2_MUXER_WEBM defines no parameters)</th>

</tr>

</table>

<!-- END - WEBM muxer parameters -->

</table>

</fieldset>

<!-- ##END FORM######################################################### -->

<hr>

<p>

<input type="submit" value="Start Encode">

<input type=’reset’ value=’Reset’ onclick=’reset_tables();’>

</p>

</form>

</div>

</body>

</html>

HTML_END

7.11.2

process_sample.cgi

#!/usr/bin/perl -w

##==========================================================================

##

##

Copyright (c) On2 Technologies Inc. All Rights Reserved.

##

##--------------------------------------------------------------------------

##

##

File:

$Workfile$

##

$Revision$

##

##

Last Update: $DateUTC$

##

##--------------------------------------------------------------------------

##

#process_sample.cgi

#receive a form via post from flix2_sample.cgi, treating each name=value pair

#as a function/param pair.

#these map to the flixengine2 API and each function that has a valid param

#will be called.

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Advertising