Repository navigation
Technical Reference Encoder 03
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.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
| 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 |
| Named function/method | Source line |
|---|---|
testTime($line) |
5 |
fileOlderThen($file, $ageInSeconds) |
15 |
| Named function/method | Source line |
|---|---|
testTime($line) |
6 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
DDL table references: formats. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: encoder_queue. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: configurations. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: encoder_queue, formats. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: encoder_queue. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: encoder_queue. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: encoder_queue, upload_queue. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: encoder_queue. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: configurations. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: streamers. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: streamers. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: none extracted. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: encoder_queue. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: encoder_queue. Historical SQL; do not execute it as a troubleshooting shortcut.
DDL table references: encoder_monitor_state, encoder_queue_monitor. Historical SQL; do not execute it as a troubleshooting shortcut.
| Named function/method | Source line |
|---|---|
getVideoDetails($videoPath) |
37 |
parseDetails($details) |
60 |
printVideoAnalysis($inputDetails, $outputDetails) |
86 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
JavaScript asset; inspect its page includes, functions and event handlers.
JavaScript asset; inspect its page includes, functions and event handlers.
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 |
Start
Install and update
- Install on Ubuntu 24.04 or 26.04
- Installation Setup Page
- Scheduler cron job (required)
- Set up email
- Use HTTPS
- Own Encoder
- Docker
- Update AVideo
- Backup
- Secure file permissions
- Server command-line tools
- Hidden configuration options
Videos
- Upload a video
- Local Encoder (on your computer)
- Bulk upload by FTP
- Import a channel
- Publish on YouTube and social media
- Privacy options
- Only for logged-in users
- Resolutions by user group
- Storage options
- Move and protect video files
- Video does not play
Users
Live
- Make a live stream
- Stream with OBS
- Own live server
- One live server, many sites
- Live server install errors
- Live does not play
Plugins
Problems
Other
- Translate your site
- Write a plugin (developers)
- Technical reference (developers and advanced administrators)
Old and retired guides