Skip to content

Technical Reference Encoder 03

Daniel Neto edited this page Oct 29, 2026 · 1 revision

Technical source reference: Encoder (3)

Audience: developers and AI-assisted code lookup. Review date: 2026-10-29. Static inventory, not an endpoint specification, functional audit or integration-test result. Source files were read without executing application handlers. Nonempty string defaults are omitted.

Source reference index.

objects/createSpiritsFromVideo.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/functions.php

Source

Named function/method Source line
local_get_contents($path) 11
get_ffmpeg($ignoreGPU = false) 22
getFFmpegScaleToForceOriginalAspectRatio($width, $height) 42
replaceFFMPEG($cmd) 47
removeUserAgentIfNotURL($cmd) 59
get_ffprobe() 67
getSelfUserAgent($complement = "") 82
url_get_contents($Url, $ctx = "", $timeout = 0) 91
fetch_http_file_contents($url) 158
file_get_intbound_contents($url, $bindto_addr_family) 193
file_upload_max_size() 203
convertToBytes($value) 216
parse_size($size) 235
humanFileSize($size, $unit = "") 247
get_max_file_size() 261
humanTiming($time) 266
checkVideosDir() 289
isApache() 303
isPHP($version = '<string>') 308
modRewriteEnabled() 313
isFFMPEG() 325
isYoutubeDL() 330
isExifToo() 335
getPathToApplication() 340
getURLToApplication() 345
check_max_execution_time() 354
check_post_max_size() 362
check_upload_max_filesize() 370
check_memory_limit() 378
check_mysqlnd() 385
base64DataToImage($imgBase64) 390
getRemoteAddrFromServerArray($server) 398
isPrivateOrLoopbackIP($ip) 412
getForwardedClientIpFromServerArray($server) 421
getRealIpAddr() 449
cleanString($text) 466
isCommandLineInterface() 502
status($statusarray) 513
croak($statusarray) 534
parseDurationToSeconds($str) 540
secondsToVideoTime($seconds) 550
parseSecondsToDuration($seconds) 562
decideFromPlugin() 567
decideFormatOrder() 609
getUpdatesFiles() 724
ip_is_private($ip) 740
getExternalHttpUrlForShell($url, $context = '<string>') 783
decodeBase64UrlParameter($value, $maxLength = 8192) 854
encryptPassword($password, $streamerURL) 885
zipDirectory($destinationFile) 890
directorysize($dir) 946
dirSize($directory) 974
make_path($path) 983
fixAdvancedCustom(&$advancedCustom) 1002
json_error() 1012
rrmdir($dir) 1039
xss_esc($text) 1056
xss_esc_back($text) 1068
remove_utf8_bom($text) 1075
getSessionMD5() 1088
getSessionId() 1094
validateSessionId($PHPSESSID) 1103
recreateSessionIdIfNotValid() 1113
_session_id($PHPSESSID) 1121
_session_start(array $options = array()) 1130
getFileInfo($file) 1152
getPHPSessionIDURL() 1180
getEncoderAdminCSRFToken() 1194
isEncoderAdminCSRFTokenValid() 1203
isSameDomain($url1, $url2) 1210
get_domain($url) 1224
isPIDRunning($pid) 1237
execAsync($command) 1245
execArgvPrepare(array $argv) 1281
execArgv(array $argv, &$output = null) 1302
execArgvAsync(array $argv) 1326
argvToLogString(array $argv) 1348
getFFmpegArgv($inputIsURL = true, $ignoreGPU = false) 1358
getFFmpegRemoteInputArgv() 1391
execRun() 1397
getPHP() 1408
__($msg, $allowHTML = false) 1427
getAdvancedCustomizedObjectData() 1443
hasLastSlash($word) 1455
addLastSlash($word) 1460
isURL200($url) 1465
isWindows() 1489
getCSSAnimation($type = '<string>', $loaderSequenceName = '<string>', $delay = 0.1) 1494
getCSSAnimationClassAndStyleAddWait($delay, $loaderSequenceName = '<string>') 1501
getCSSAnimationClassAndStyle($type = '<string>', $loaderSequenceName = '<string>', $delay = 0.1) 1513
addPrefixIntoQuery($query, $tablesPrefix) 1519
isURLaVODVideo($url) 1546
_utf8_encode($string) 1584
_rename($originalFile, $newName) 1594
_sys_get_temp_dir() 1611
_get_temp_file($prefix = '') 1630
convertDates() 1635
convertToServerDate($originalDateTime, $fromTimezone) 1655
getCategoriesSelect($id) 1667
checkZipArchiveAndVersion() 1690
removeKeyFromData($data, $keyToRemove) 1730
_error_log($message) 1756
isFTPURL($url) 1774
addVideo($link, $streamers_id, $title = "") 1778
removeQueryStringParameter($url, $varname) 1876
isParamInUrl($url, $paramName) 1905
addQueryStringParameter($url, $varname, $value) 1929
fixURLQuery($query) 1978
isYouTubeUrl($url) 1982

objects/getImage.php

Source

Named function/method Source line
testTime($line) 5
fileOlderThen($file, $ageInSeconds) 15

objects/getImageMP4.php

Source

Named function/method Source line
testTime($line) 6

objects/getLinkInfo.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/getSpiritsFromVideo.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/include_config.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/login.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/logoff.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/security.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

update/software.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

update/update.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

update/updateDb.v2.0.sql

Source

DDL table references: formats. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v2.1.sql

Source

DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v2.2.sql

Source

DDL table references: encoder_queue. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v2.3.sql

Source

DDL table references: configurations. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v2.4.sql

Source

DDL table references: encoder_queue, formats. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v2.5.sql

Source

DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v2.6.sql

Source

DDL table references: encoder_queue. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v3.0.sql

Source

DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v3.2.sql

Source

DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v3.3.sql

Source

DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v3.4.sql

Source

DDL table references: encoder_queue. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v3.5.sql

Source

DDL table references: encoder_queue, upload_queue. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v3.6.sql

Source

DDL table references: encoder_queue. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v3.7.sql

Source

DDL table references: configurations. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v3.8.sql

Source

DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v3.9.sql

Source

DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v4.0.sql

Source

DDL table references: streamers. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v5.0.sql

Source

DDL table references: streamers. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v5.1.sql

Source

DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v5.2.sql

Source

DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v6.0.sql

Source

DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v7.0.sql

Source

DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v8.0.sql

Source

DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v8.1.sql

Source

DDL table references: encoder_queue. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v8.2.sql

Source

DDL table references: encoder_queue. Historical SQL; do not execute it as a troubleshooting shortcut.

update/updateDb.v8.3.sql

Source

DDL table references: encoder_monitor_state, encoder_queue_monitor. Historical SQL; do not execute it as a troubleshooting shortcut.

view/analyze.php

Source

Named function/method Source line
getVideoDetails($videoPath) 37
parseDetails($details) 60
printVideoAnalysis($inputDetails, $outputDetails) 86

view/deleteQueue.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/encoderVersion.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/index.header.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/index.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/index_configurations.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/index_formats.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/index_shareVideos.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/index_signin.delete.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/index_signin.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/index_signin.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/index_signin.revalidate.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/index_signin.save.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/index_signin_deprecated.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/isAdmin.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/jquery-file-upload/form.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

view/jquery-file-upload/js/app.js

Source

JavaScript asset; inspect its page includes, functions and event handlers.

view/jquery-file-upload/js/main.js

Source

JavaScript asset; inspect its page includes, functions and event handlers.

view/jquery-file-upload/server/php/UploadHandler.php

Source

Declared classes/interfaces/traits: UploadHandler.

Named function/method Source line
__construct($options = null, $initialize = true, $error_messages = null) 48
initialize() 204
get_full_url() 226
get_user_id() 239
get_user_path() 244
get_upload_path($file_name = null, $version = null) 251
get_query_separator($url) 267
get_download_url($file_name, $version = null, $direct = false) 271
set_additional_file_properties($file) 295
fix_integer_overflow($size) 311
get_file_size($file_path, $clear_stat_cache = false) 318
is_valid_file_object($file_name) 329
get_file_object($file_name) 337
get_file_objects($iteration_method = '<string>') 361
count_file_objects() 372
get_error_message($error) 376
get_config_bytes($val) 381
validate($uploaded_file, $file, $error, $index) 400
upcount_name_callback($matches) 484
upcount_name($name) 490
get_unique_filename($file_path, $name, $size, $type, $error, $index, $content_range) 499
fix_file_extension($file_path, $name, $size, $type, $error, $index, $content_range) 520
trim_file_name($file_path, $name, $size, $type, $error, $index, $content_range) 553
get_file_name($file_path, $name, $size, $type, $error, $index, $content_range) 576
get_scaled_image_file_paths($file_name, $version) 592
gd_get_image_object($file_path, $func, $no_cache = false) 606
gd_set_image_object($file_path, $image) 614
gd_destroy_image_object($file_path) 619
gd_imageflip($image, $mode) 624
gd_orient_image($file_path, $src_img) 666
gd_create_scaled_image($file_name, $version, $options) 723
imagick_get_image_object($file_path, $no_cache = false) 835
imagick_set_image_object($file_path, $image) 855
imagick_destroy_image_object($file_path) 860
imagick_orient_image($image) 865
imagick_create_scaled_image($file_name, $version, $options) 899
imagemagick_create_scaled_image($file_name, $version, $options) 986
get_image_size($file_path) 1030
create_scaled_image($file_name, $version, $options) 1065
destroy_image_object($file_path) 1080
imagetype($file_path) 1086
is_valid_image_file($file_path) 1105
handle_image_file($file_path, $file) 1112
handle_file_upload($uploaded_file, $name, $size, $type, $error, $index = null, $content_range = null) 1136
readfile($file_path) 1189
body($str) 1205
header($str) 1209
get_upload_data($id) 1213
get_post_param($id) 1217
get_query_param($id) 1221
get_server_var($id) 1225
handle_form_data($file, $index) 1229
get_version_param() 1233
get_singular_param_name() 1237
get_file_name_param() 1241
get_file_names_params() 1251
get_file_type($file_path) 1262
download() 1276
send_content_type_header() 1318
send_access_control_headers() 1327
generate_response($content, $print_response = true) 1337
get_response () 1365
head() 1369
get($print_response = true) 1381
post($print_response = true) 1398
delete($print_response = true) 1454
basename($filepath, $suffix = '') 1479

Clone this wiki locally