Cheetah
Functions
functions.inc.php File Reference

Go to the source code of this file.

Functions

 prepareCommand ($sTemplate, $aOptions)
 
 usex264 ()
 
 getEmbedThumbnail ($sUserId, $sImageUrl, $aFilesConfig=array())
 
 getRecordThumbnail ($sUserId)
 
 embedVideo ($sUserId, $sVideoId, $iDuration, $aFilesConfig=array())
 
 recordVideo ($sUserId, $aFilesConfig=array())
 
 uploadVideo ($sFilePath, $sUserId, $isMoveUploadedFile=false, $sImageFilePath='', $sFileName='', $aFilesConfig=array())
 
 publishRecordedVideo ($sUserId, $sTitle, $sCategory, $sTags, $sDesc, $aFilesConfig=array())
 
 initVideo ($sId, $sTitle, $sCategory, $sTags, $sDesc)
 
 getVideoSize ($sInputFile)
 
 getConverterTmpl ($sInputFile, $sSize, $bSound=true, $bRecorded=false)
 
 getVideoBitrate ()
 
 convertVideoFile ($sFile, $sCommand)
 
 convertMainVideo ($sId, $sTmpl="", $bRecorded=false)
 
 convertVideo ($sId)
 
 grabImages ($sInputFile, $sOutputFile, $iSecond=0, $bForse=false, $aFilesConfig=array())
 
 grabImage ($sInputFile, $sOutputFile, $sSize="", $iSecond=0, $bForse=false)
 
 getGrabImageTmpl ($sInputFile, $sOutputFile, $sSize="", $iSecond=0)
 
 deleteTempFiles ($sUserId, $bSourceOnly=false, $aFilesConfig=array())
 
 deleteVideo ($sFile, $aFilesConfig=array())
 
 getToken ($sId)
 

Function Documentation

◆ convertMainVideo()

convertMainVideo (   $sId,
  $sTmpl = "",
  $bRecorded = false 
)

Definition at line 248 of file functions.inc.php.

◆ convertVideo()

convertVideo (   $sId)

Definition at line 274 of file functions.inc.php.

◆ convertVideoFile()

convertVideoFile (   $sFile,
  $sCommand 
)

Definition at line 240 of file functions.inc.php.

◆ deleteTempFiles()

deleteTempFiles (   $sUserId,
  $bSourceOnly = false,
  $aFilesConfig = array() 
)

Definition at line 384 of file functions.inc.php.

◆ deleteVideo()

deleteVideo (   $sFile,
  $aFilesConfig = array() 
)

Delete file

Parameters
$sFile- file identificator
Returns
$bResult - result of operation (true/false)

Definition at line 405 of file functions.inc.php.

◆ embedVideo()

embedVideo (   $sUserId,
  $sVideoId,
  $iDuration,
  $aFilesConfig = array() 
)

Definition at line 54 of file functions.inc.php.

◆ getConverterTmpl()

getConverterTmpl (   $sInputFile,
  $sSize,
  $bSound = true,
  $bRecorded = false 
)

Definition at line 216 of file functions.inc.php.

◆ getEmbedThumbnail()

getEmbedThumbnail (   $sUserId,
  $sImageUrl,
  $aFilesConfig = array() 
)

Definition at line 22 of file functions.inc.php.

◆ getGrabImageTmpl()

getGrabImageTmpl (   $sInputFile,
  $sOutputFile,
  $sSize = "",
  $iSecond = 0 
)

Definition at line 377 of file functions.inc.php.

◆ getRecordThumbnail()

getRecordThumbnail (   $sUserId)

Definition at line 42 of file functions.inc.php.

◆ getToken()

getToken (   $sId)

Definition at line 429 of file functions.inc.php.

◆ getVideoBitrate()

getVideoBitrate ( )

Definition at line 228 of file functions.inc.php.

◆ getVideoSize()

getVideoSize (   $sInputFile)

Definition at line 190 of file functions.inc.php.

◆ grabImage()

grabImage (   $sInputFile,
  $sOutputFile,
  $sSize = "",
  $iSecond = 0,
  $bForse = false 
)

Definition at line 353 of file functions.inc.php.

◆ grabImages()

grabImages (   $sInputFile,
  $sOutputFile,
  $iSecond = 0,
  $bForse = false,
  $aFilesConfig = array() 
)

Definition at line 320 of file functions.inc.php.

◆ initVideo()

initVideo (   $sId,
  $sTitle,
  $sCategory,
  $sTags,
  $sDesc 
)

Definition at line 168 of file functions.inc.php.

◆ prepareCommand()

prepareCommand (   $sTemplate,
  $aOptions 
)

This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/

Definition at line 8 of file functions.inc.php.

◆ publishRecordedVideo()

publishRecordedVideo (   $sUserId,
  $sTitle,
  $sCategory,
  $sTags,
  $sDesc,
  $aFilesConfig = array() 
)

Definition at line 139 of file functions.inc.php.

◆ recordVideo()

recordVideo (   $sUserId,
  $aFilesConfig = array() 
)

Definition at line 77 of file functions.inc.php.

◆ uploadVideo()

uploadVideo (   $sFilePath,
  $sUserId,
  $isMoveUploadedFile = false,
  $sImageFilePath = '',
  $sFileName = '',
  $aFilesConfig = array() 
)

Definition at line 99 of file functions.inc.php.

◆ usex264()

usex264 ( )

Definition at line 15 of file functions.inc.php.