Skip to content

Technical Plugin MP4ThumbsAndGif

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

Technical: MP4ThumbsAndGif plugin

Requests poster/animated-preview and related image generation from the Web Encoder.

Audience: developers, advanced administrators and AI-assisted diagnosis. Plugin catalog.

Source baseline

  • Review date: 2026-10-29. Method: static source analysis; runtime/provider behavior was not exercised.
  • Code ownership: independently versioned plugin repository.
  • Reported version: 5.2.
  • Source revision: 1b1996a82b71b4f42766c701c47af7982e9549ba.
  • Entry class file: MP4ThumbsAndGif.php.

Confirm the installed plugin version independently of the Streamer version. Configuration defaults below are not a dump of this installation's saved settings.

Behavior and operational checks

Verify source reachability from the Encoder and the actual returned image. These server-side services can remain necessary when upload conversion is performed by Local Encoder.

Dependencies

No literal dependency declaration was extracted. This does not prove the plugin is standalone.

Hook integration

Override Implementation
getTags() MP4ThumbsAndGif.php:9
getVideosManagerListButton() MP4ThumbsAndGif.php:385
afterNewVideo($videos_id) MP4ThumbsAndGif.php:395
getStart() MP4ThumbsAndGif.php:409
onUploadIsDone($videos_id) MP4ThumbsAndGif.php:426

Configuration assignments

These are direct assignments inside getEmptyDataObject(), not evaluated effective defaults. Stored plugins.object_data, globals, structured values and conditional branches may alter runtime behavior. Private/default credential values are omitted.

Field Literal default or expression type Literal source label/help Evidence
defaultDuration 5 — source
showGetJPGGIFButtonOnVideosManager true — source
generateSpectrumThumbsFromMp3 true — source

Files and request surface

This inventory distinguishes implementation files from an API specification. Includes, templates, callbacks and CLI workers are not interchangeable HTTP endpoints. Request-field names below are direct source references, not a complete schema or permission declaration.

File Source role Direct request fields observed
MP4ThumbsAndGif.php plugin entry class —
get.php PHP page/include/worker; inspect caller type, video_id
getAllMissing.php PHP page/include/worker; inspect caller —
getImages.php PHP page/include/worker; inspect caller videos_id
replace.json.php JSON entry point; inspect caller and guard hash

Data and migrations

No CREATE TABLE names were extracted from available plugin SQL. The plugin can still use core tables, PHP-created schema or another component's data. Apply installation/update behavior through the owning plugin; this reference is not a script for running historical migrations manually.

Main-file named symbols

Visibility and implementation semantics must be checked in source. Nonempty string defaults are represented as . This is a symbol reference, not a stable public API promise.

Function or method Source
getTags() 9
getDescription() 16
getPluginVersion() 21
getName() 26
getUUID() 31
getEmptyDataObject() 36
getImage($videoFileName, $type, $videos_id = 0) 47
getThumbsOptions($videos_id, $type, $howMany = 4) 114
replaceThumbsOptions($hash) 160
getImageIfNotExists($videos_id, $type) 224
getImageInDuration($videos_id, $type, $duration = 0, $destination = '') 241
getSpectrum($videos_id) 328
getFirstVideoURL($videoFileName) 362
getFirstVideoPath($videoFileName) 374
getVideosManagerListButton() 385
afterNewVideo($videos_id) 395
getStart() 409
onUploadIsDone($videos_id) 426

Diagnostics and validation

  1. Check the installed/enabled version and the dependencies/settings above.
  2. Identify the actual failing page, request, callback or worker and correlate its timestamp with the AVideo log.
  3. Follow the linked method and caller. Check business-state changes and output artifacts as well as HTTP status.
  4. Reproduce the relevant workflow in a test environment. External provider, Encoder, live-server, storage, payment and authenticated flows require their real integrations.

Shared diagnostic workflow. This page is not a security audit or a claim of end-to-end validation.

Clone this wiki locally