We rebuilt our website from scratch and are still updating some extensions and pages. Having a problem? Sign in and open a support ticket or contact us.
JoomBoost

Video processing

When you upload your own video files, JoomVideos uses FFmpeg on your server to prepare them for the web. Videos from YouTube, Vimeo and other links, streams and embed codes are not processed.

What processing does

For each uploaded file, JoomVideos adds a list of jobs ("processes") to a queue:

  • Convert the video to each format and size you turned on in Options > Processing: MP4, WebM and Ogg, from 120p to 2160p (4K). Only sizes up to the height of the original are made, so a 720p upload gives no 1080p file. By default MP4 is made in 240p, 360p, 480p, 720p, 1080p and 2160p.
  • Read the duration and the title from the file (Process Duration, Process Title).
  • Take thumbnails in the sizes you turned on in Options > Thumbs.
  • Add a watermark, if turned on.
  • Generate frames, if turned on.

Each size has its own Max video bitrate and Audio bitrate in the options, to balance quality and file size.

The player offers the converted sizes, and starts with the Video Quality set in Options > Video (720p by default).

Watermark

In Options > Processing, set Enable watermark to Yes, choose a Watermark position (top left, top right, bottom right or bottom left) and the Watermark path, a PNG image relative to your site root (images/powered_by.png by default). The watermark is burned into the converted files, so it applies to videos converted after you turn it on.

Running the queue

Processing takes time and server power, so it runs in the background. You have three ways to run it:

Ask your host to run the CLI script every few minutes, for example every 5 minutes:

*/5 * * * * /usr/bin/php /path/to/your/site/cli/joomvideos_process.php process

Use the path of PHP's command-line binary on your server and the full path of your site. Each run handles up to Max Processes jobs (10 by default).

If your host only offers URL cron jobs, call this address instead:

https://www.example.com/index.php?option=com_joomvideos&task=cron.convert&secretkey=YOUR_KEY

Each call runs up to 50 jobs, whatever Max Processes says.

YOUR_KEY is the Cron Task Key in Options > Processing. Every install starts with the same key, so change it to a long random value before you use the URL.

2. Auto Run

Set Auto Run to Yes and JoomVideos works on the queue whenever someone opens a page of your site. Auto Run Type:

  • Direct: inside the page request. Simple, but it slows down the page that triggers it.
  • CLI: starts the CLI script in the background with PHP's exec. Set Php path in Options > Server first.

Auto Run is fine for small sites and testing. Use a cron job on a live site.

3. By hand

Go to Components > JoomVideos > Processes:

Button What it does
Process Runs the selected jobs
Process All Runs up to 50 queued jobs
Delete Removes the selected jobs from the queue
Remove All Empties the queue and the process log

Each job shows its video, its type and its status: Queued, Successful or Failed.

Generated files

Components > JoomVideos > Files lists every file JoomVideos created for each video, with its size. Delete files you no longer need here.

Turn processing off

Set Enable Video Processing to No in Options > Processing. Uploads are then not converted and no thumbnails are made. Upload MP4 files that browsers can play, and add a thumbnail yourself in the video's edit form.

When something fails

  • Run php cli/joomvideos_process.php testcli over SSH from your site folder. The Test CLI button on the Requirements screen is not reliable on Linux, see Tools.
  • Check FFmpeg path and Php path in Options > Server.
  • On the Processes screen, click the job type of a failed job to see its log.
  • Turn on Logging in Options > Server and read administrator/cache/joomvideos.log.
  • See Troubleshooting.

All Extensions