Repository navigation
Use AWS S3 on AVideo Platform
The AWS_S3 plugin moves your video files to Amazon S3 (or an S3-compatible storage such as Wasabi) so they do not fill your server's disk. AWS_S3 is a paid add-on available from the AVideo plugin marketplace.
- MP4, WebM and MP3 files are uploaded to the bucket as soon as the Encoder delivers them. The local file is replaced by a tiny placeholder file (10 bytes) that AVideo needs; do not delete these placeholders.
- HLS videos, images and thumbnails stay on your server. If you use VideoHLS, your disk still needs room for HLS files.
- Files larger than 5 GB stay on your server.
- When you delete a video in AVideo, its files are deleted from the bucket too.
In the AWS console (other providers have similar screens):
- Open S3 and create a bucket. Write down the bucket name and its region code (for example
us-west-2). You can keep public access blocked: AVideo uses signed links. - Open IAM, create a user and give it access to S3.
AmazonS3FullAccessis the simplest choice, but it opens all your buckets; a policy limited to this bucket is safer. - Open the user, create an access key, and copy the Access key ID and the Secret access key. The secret is shown only once. Never publish it.
Open Admin Panel → Settings → S3, B2, FTP settings (or Plugins → AWS_S3 → Edit parameters), enable the plugin and fill in:
| Setting | What to enter |
|---|---|
region |
The bucket region code, for example us-west-2
|
bucket_name |
The bucket name |
key |
Access key ID |
secret |
Secret access key |
endpoint |
Leave empty for Amazon S3. For other providers, the full address starting with https://, for example https://s3.wasabisys.com
|
profile |
Leave empty |
useS3DirectLink |
Keep checked (default): the player loads files straight from S3. If unchecked, your site redirects each request to S3, which needs Apache XSendFile |
presignedRequestSecondsTimeout |
How long each signed link works, in seconds. Default 43200 (12 hours) |
CDN_Link |
Optional. Address of a CDN in front of the bucket (for example CloudFront). Links then become this address plus the file name, without a signature, so the CDN must be able to read the bucket |
makeMyFilesPublicRead |
Leave unchecked unless your bucket allows public files. When checked, files are uploaded as public and links do not expire. New AWS buckets block this by default and uploads would fail |
Click Save changes.
The AWS_S3 row in Plugins has three buttons:
- Upload Test: uploads a small test file and shows the result and a link. Open the link; you should see the test file. An error here means the region, bucket, keys or endpoint are wrong.
- Upload to S3: moves all MP4, WebM and MP3 files that are still on your server to the bucket. Use it only after a successful test.
- Download from S3: in the current version this does not copy files back to your server.
Then upload a short video, wait until it is encoded, and play it while signed out. In the browser's developer tools (F12 → Network) the video file should come from your bucket.
The Upload to S3 button runs inside the browser and can stop on large libraries. On the server, run the same transfer from a terminal (SSH):
cd /var/www/html/AVideo/plugin/AWS_S3
sudo -u www-data php transfer.php uploadIt goes through every video and uploads its MP4, WebM and MP3 files. It can take hours; keep the terminal open. Progress is written to the AVideo log (Log file in the left menu). Make a backup first.
For Wasabi and others you must fill endpoint and use the region of your bucket. See How do I use the AWS S3 plugin with Wasabi.
| Problem | What to check |
|---|---|
| Upload Test shows an error | Region, bucket name, key and secret. For non-AWS providers, endpoint must start with https://. |
Upload fails only when makeMyFilesPublicRead is checked |
The bucket does not accept public files. Uncheck it. |
| Video does not play, the browser shows 403 from the bucket | The server clock is wrong (signed links need the correct time), or CDN_Link points to a CDN that cannot read the bucket. |
| HLS videos still use local disk | Normal: this plugin stores only MP4, WebM and MP3. Use CDN Storage, Backblaze B2 or YPTStorage for HLS. |
| Some files stayed on the server | Files over 5 GB are not uploaded. Check the log. |
Only one storage plugin should be enabled at a time; see Storage options.
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
- Upload methods — visual guide
- Local Encoder (on your computer)
- Bulk upload from a server folder
- Import a channel
- Publish on YouTube and social media
- Access and payments — visual guide
- Privacy options
- Only for logged-in users
- Resolutions by user group
- Mandatory playback access rules
- 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