Skip to content

Storage Options

Daniel Neto edited this page Nov 18, 2026 · 23 revisions

Choose where AVideo stores videos

By default AVideo keeps every video in the videos/ folder of your server. When that disk gets full, you can move the folder to a bigger disk or send the video files to remote storage. Test with a few unimportant videos before moving a production library.

Storage options

Option What you need What is moved Guide
Local disk Nothing Nothing (default) —
Another disk on the same server Server access (SSH) The whole videos/ folder Move and protect video files
AVideo CDN Storage CDN plugin (free) + the paid AVideo CDN service MP4, WebM, MP3, HLS, PDF and ZIP files CDN Storage
Your own storage servers YPTStorage plugin (paid) + AVideo-Storage servers that you run Whole videos, including HLS YPTStorage plugin
Amazon S3 or S3-compatible (Wasabi and others) AWS_S3 plugin (paid) + an S3 account MP4, WebM and MP3 only. HLS stays on your server AWS S3
Backblaze B2 Blackblaze_B2 plugin (paid) + a B2 account MP4, WebM, MP3 and HLS Backblaze B2
FTP server FTP_Storage plugin (paid) + an FTP server that also serves the files over HTTPS MP4, WebM and MP3 only. HLS stays on your server FTP Storage

Paid plugins are available from the AVideo plugin marketplace.

Where each option is configured

  • AWS_S3, Blackblaze_B2 and FTP_Storage: Admin Panel → Settings → S3, B2, FTP settings (each has an on/off switch), or Plugins (left menu) → plugin row → Edit parameters.
  • CDN Storage: Plugins → CDN → Edit parameters.
  • YPTStorage: Plugins → YPTStorage → Storage Sites and Default Storages.

Important rules

  • Use one storage method at a time. If more than one of AWS_S3, Blackblaze_B2 and FTP_Storage is enabled, AVideo uses only the first in this order: AWS_S3, Blackblaze_B2, FTP_Storage.
  • Remote storage does not replace a backup. Keep a backup of the database and videos/configuration.php (How to make a backup).
  • A storage holds files; a CDN speeds up delivery. Only CDN Storage does both. See CDN plugin.
  • Keep the original files until playback, seeking and deleting have been tested from the new location.

Before moving existing videos

  1. Back up the database, videos/configuration.php and the media.
  2. Test one MP4 video and one HLS video.
  3. Check playback, seeking, all qualities, subtitles and thumbnails while signed out.
  4. Delete a test video and confirm its remote files are removed.
  5. Move a small batch and check it before moving the rest.

Common questions

I enabled a storage plugin, but videos stay on my disk

  • New videos go to the storage when the Encoder sends them. Videos you had before stay on your disk until you move them with the plugin's own tool: Upload to S3 (AWS S3), Storage → Upload selected (CDN Storage) or YPTStorage.
  • Update the storage plugin: download it again from the marketplace. Older AWS_S3 versions copied the files without freeing the disk.
  • Only video and audio files move. Images and thumbnails stay on your server.
  • AWS_S3 does not send files larger than 5 GB.
  • A moved file leaves a tiny placeholder on your disk. If the full file is still there, the move did not finish: check the AVideo log.

Many videos stopped playing after I enabled a storage plugin

  1. Play one of them while signed out and open the browser's developer tools (F12 → Network). The first failed request shows where the file is loaded from and the error.
  2. Update AVideo and the storage plugin, then click Clear Cache Directory.
  3. Never delete the small placeholder files in videos/: AVideo needs them to find the file in the storage.
  4. Check that only one storage plugin is enabled (see the rules above).

See also A video does not play and Broken/Missing Files status.

The transfer to the storage fails

Run the plugin's test button first (Upload Test, Test it or Test Storage). Then look at the AVideo log at the time of the transfer (How to find errors). "ERROR on save file ... Directory is not writable" means the web server cannot write to the videos/ folder; fix its owner and permissions (Secure file permissions).

Help with planning or migration is available through professional support.

Clone this wiki locally