Google Flix Engine Linux Reference Manual Bedienungsanleitung Seite 472

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 545
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 471
466 Flix Engine Linux Page Documentation
7.15 CGI
This example consists of 2 parts: flix2_sample.py and process_sample.py. flix2_sample.py searches for
uploaded files to encode and allows the user to select one while giving the option to set values for most
of the engine’s functions. The engine options are separated into sections that map to the engine’s include
files.
To use this example navigate to flix2_sample.py in your web browser, select a file from the list, set any of
the desired options and click the encode button. The selected options are submitted to process_sample.py
which runs the encode loop.
Default file locations used by the scripts:
Input : /var/www/cgi-bin/flixmedia/in ($indir in flix2_sample.py)
Overlay : /var/www/cgi-bin/flixmedia/overlay ($overlaydir in flix2_sample.py)
Output : /var/www/cgi-bin/flixmedia/out ($outdir in process_sample.py)
7.15.1 flix2_sample.py
#!/usr/bin/python
##==========================================================================
##
## Copyright (c) On2 Technologies Inc. All Rights Reserved.
##
##--------------------------------------------------------------------------
##
## File: $Workfile$
## $Revision$
##
## Last Update: $DateUTC$
##
##--------------------------------------------------------------------------
##
import os
import sys
import flixengine2
prefix = "/var/www/cgi-bin/";
indir = prefix + "flixmedia/in/"
overlaydir = prefix + "flixmedia/overlay/"
print """
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
<head>
<title>Flix CGI Sample - Python</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
function showall(show) {
var legend_list = document.getElementsByTagName(’legend’);
var i=0;
while(legend_list[i]) {
legend_list[i].parentNode.className=show?’expanded’:’collapsed’;
i++;
}
}
function toggle_expand(_this)
{
_this.parentNode.className= (_this.parentNode.className==’expanded’) ?
’collapsed’ : ’expanded’;
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Seitenansicht 471
1 2 ... 467 468 469 470 471 472 473 474 475 476 477 ... 544 545

Kommentare zu diesen Handbüchern

Keine Kommentare

Fujitsu VFY:E0400P13A1FR manuály

Uživatelské manuály a uživatelské příručky pro Mini PC Fujitsu VFY:E0400P13A1FR.
Poskytujeme 1 manuály pdf Fujitsu VFY:E0400P13A1FR ke stažení zdarma podle typů dokumentů: Datový list






Další produkty a příručky pro Mini PC Fujitsu

Modely Typ Dokumentu
VFY:E0700PP351NC Datový list   Fujitsu ESPRIMO E700 E90+, 8 stránky
VFY:E0400PP131ES Datový list   Fujitsu ESPRIMO E400 E85+, 7 stránky
VFY:P0400PP561FR Datový list   Fujitsu ESPRIMO P400, 6 stránky
VFY:W4100WXP41IT Datový list   Fujitsu CELSIUS W410, 7 stránky
VFY:P0720PXSA1DE/L24 Datový list   Fujitsu ESPRIMO P720 E90+, 9 stránky
VFY:P0410P5331ES Datový list   Fujitsu ESPRIMO P410, 8 stránky
VFY:Q0920PXP11BE Datový list   Fujitsu ESPRIMO Q920, 8 stránky
VFY:E0900PXG11PL Datový list   Fujitsu ESPRIMO E900, 8 stránky
VFY:Q0900PP311FR Datový list   Fujitsu ESPRIMO Q900, 7 stránky
VFY:P2560PP155ES Datový list   Fujitsu ESPRIMO P2560, 6 stránky
PRJ:P0900P0003DE Datový list   Fujitsu ESPRIMO P900 0-Watt, 9 stránky
LKN:R5702W0144FR Datový list   Fujitsu CELSIUS R570-2, 7 stránky
VFY:W4100WXG11DE FSP:GA3S20Z00DEWSW Datový list   Fujitsu CELSIUS W410, 7 stránky
VFY:E0700PXF11DE Datový list   Fujitsu ESPRIMO E700, 8 stránky
GPJ:Q1510P0008DE Datový list   Fujitsu ESPRIMO Q1510, 6 stránky
VFY:E3721PF041ES Datový list   Fujitsu ESPRIMO E3721, 7 stránky
VFY:P5645PX001DE/K2 Datový list   Fujitsu ESPRIMO P5645, 8 stránky
VFY:P0900PXP11GB Datový list   Fujitsu ESPRIMO P900, 8 stránky
VFY:E0710PF011BE Datový list   Fujitsu ESPRIMO E710 E90+, 8 stránky
VFY:PH300PR572BE Datový list   Fujitsu ESPRIMO PH300 E85+, 7 stránky