Cheetah
header.inc.php
Go to the documentation of this file.
1 <?php
2 
8 if(empty($GLOBALS['sModule'])) $GLOBALS['sModule'] = "video";
9 $GLOBALS['sModuleUrl'] = $GLOBALS['sModulesUrl'] . $GLOBALS['sModule'] . "/";
10 $GLOBALS['sFilesDir'] = "files/";
11 $GLOBALS['sFilesUrl'] = $GLOBALS['sModuleUrl'] . $GLOBALS['sFilesDir'];
12 $GLOBALS['sFilesPath'] = $GLOBALS['sModulesPath'] . $GLOBALS['sModule'] . "/" . $GLOBALS['sFilesDir'];
13 $GLOBALS['sServerApp'] = "video";
14 $GLOBALS['sStreamsFolder'] = "streams/";
15 $GLOBALS['aConvertTmpls'] = array(
16  "playX264" => $GLOBALS['sFfmpegPath'] . " -y -i #input# -b:v #bitrate#k -vcodec libx264 -s #size# #audio_options# #output#",
17  "play" => $GLOBALS['sFfmpegPath'] . " -y -i #input# -r 25 -b:v #bitrate#k -s #size# #audio_options# #output#",
18  "image" => $GLOBALS['sFfmpegPath'] . " -y -i #input# #size# -ss #second# -vframes 1 -an -f image2 #output#",
19 );
php
$GLOBALS
$GLOBALS['sModuleUrl']
Definition: header.inc.php:9
empty
Attr AllowedRel this is empty
Definition: Attr.AllowedRel.txt:7