Adaptive video streaming from your Storage files
Turn video and audio files into HLS, DASH, and CMAF streams with an encoding ladder, subtitles, and scrubbing thumbnails. First frame under 100 ms, by design. One API, in the same project as your Auth, Databases, and Storage.
Waterfall · Demo video by McPix22 · Pixabay Content License
falls.mp4
media · 85 MB
Appwrite player
Embed on any page
- To first frame
- < 100 ms
- HLS, DASH, and CMAF
- 3 outputs
- Bitrate ladder
- Adaptive
- Web, mobile, and native
- Any player
- Live experience score
- Inspector
Start from any file in Storage
Create a video from a file that is already in a Storage bucket. The first encoding job probes codecs, resolution, frame rate, duration, and bitrate, so you never parse media metadata yourself.
Storage
launch.mp4
media · 84 MB
Probed metadata
From the first encode
Resolution
1920x1080
Duration
02:14
Frame rate
30 fps
Video codec
H.264
Audio codec
AAC
Bitrate
8.4 Mbps
Source stays in Storage
The original file is never replaced
Encode an adaptive bitrate ladder
Start from resolution presets or define your own encoding profiles. Renditions encode in the background and report status and progress until they are ready to stream.
Renditions
Default project ladder
Add a profile for any other bitrate
Encode on CPU, or on dedicated GPUs
Every plan encodes renditions on CPU in the background. On Enterprise, dedicated GPUs get long and 4K videos ready in a fraction of the time.
CPU encoding
Renditions encode in the background on every plan and report status and progress until each one is ready to stream.
- Any profile, any output
- Status and progress on every rendition
GPU encoding
Encode on dedicated GPUs to get long and 4K videos ready in a fraction of the time, with no queue behind other uploads.
- Dedicated GPUs for your organization
- Built for long and 4K sources
HLS, DASH, and CMAF from one source
Package each rendition for the players you support. Every output has a master manifest that players follow to the right rendition for each viewer and connection.
HLS
For Safari, iOS, tvOS, and hls.js on every other browser.
outputs/hls/master.m3u8Works with
hls.js · AVPlayer · Safari
DASH
For dash.js, Shaka Player, ExoPlayer, and smart TVs.
outputs/dash/master.mpdWorks with
dash.js · Shaka · ExoPlayer
CMAF
Encode fMP4 segments once and serve both an HLS and a DASH master.
outputs/cmaf/master.m3u8outputs/cmaf/master.mpdWorks with
HLS + DASH
Subtitles, uploaded or extracted
Upload WebVTT or SubRip files from Storage, or use the tracks already embedded in the source. Tag each track with a language, choose a default, and players pick it up from the manifest.

[Water rushing]
English
eng · WebVTT
Hebrew
heb · SubRip
Track 3
und
Upload or extract
Retag an embedded track without replacing the file
Scrubbing thumbnails on the timeline
Generate sprite sheets with a WebVTT index so viewers see a preview frame while they scrub.

Sprite sheet
timeline.vttPoster frame included
Same sprites, same index
Embed a built-in player
Copy an iframe from the Console and drop the Appwrite player on any page. Set a start time, choose captions, lock a rendition, or leave quality on Auto. The stream is designed for a first frame in under 100 ms.
Embed
<iframe src="https://appwrite.io/player/6b0ab42d477095ae3bf9?project=…&start=46&muted=1" …>First frame under 100 ms
Embed on any page
Use any player on any platform
Prefer your own player? The same master manifest works with hls.js, Shaka Player, and Video.js on the web, AVPlayer on Apple platforms, ExoPlayer on Android, and the usual Flutter and React Native players.
Master manifest URL
videos.getHlsManifest()
const url = videos.getHlsManifest({ videoId '<VIDEO_ID>' })
const hls = new Hls()
hls.loadSource(url)
hls.attachMedia(video)Web
hls.js · Shaka · Video.js
Apple
AVPlayer
Android
ExoPlayer
Flutter · React Native
video_player · react-native-video
Press play, see picture in under 100 ms
No waiting on the whole file. Manifests are built from metadata held in memory, and every segment comes from the nearest of 120+ CDN PoPs, so picture lands before anyone notices.
Time to first frame
86ms
- 1.4 KB
- Manifest, built from metadata in memory
- 120+
- CDN PoPs keep every segment close to viewers
- 1
- Segment to paint a frame
Appwrite stream
Manifests, from memory
master.m3u8
Master manifest
1.4 KB
360p/index.m3u8
Media playlist
0.6 KB
Segments, from the nearest PoP
360p/init.mp4
Init segment
0.9 KB
360p/seg_0.m4s
First segment
180 KB
Playback
Climbs the ladder
Progressive download
source.mp4
Whole file first
48 MB
Inspect quality as viewers play
Pop the inspector out beside any video in the Console. Watch a live experience score for that session, then drill into buffer, bitrate, dropped frames, and diagnostics when a stream misses the sub 100 ms first frame.
Experience score
Excellent
First frame
86 ms
Rebuffering
0.0%
Dropped frames
0.00%
Follows the playing video
Pop out beside the player
FAQ
Any video or audio file in an Appwrite Storage bucket. Create a video from the bucket and file IDs, and the source file stays in Storage untouched. Audio-only sources stream the same way but have no timeline thumbnails.
A profile is a reusable encoding target with a resolution, video and audio bitrate, and codec. A rendition is one encode of a video against a profile, packaged for one output. Each video has at most one rendition per profile and output. Updating a profile does not re-encode existing renditions.
HLS, DASH, and CMAF. HLS uses MPEG-TS segments, DASH uses fMP4 segments, and CMAF encodes fMP4 once and exposes both an HLS and a DASH master manifest. Players request the master manifest and follow it to renditions, segments, and subtitles.
Upload a WebVTT or SubRip file to Storage and attach it to a video with a name and an ISO 639-2 language code. Uploads are converted to WebVTT and segmented for streaming. Subtitle tracks embedded in the source are extracted automatically during the first encoding job, and you can retag their language at any time.
Deleting a video removes its renditions, captions, timeline thumbnails, and transcoded segments. Deleting a profile keeps the renditions that were already encoded with it.
The pipeline is designed for that startup budget. Players load a small master manifest, pick a rendition from the ladder that the connection can fetch immediately, and request a short first segment instead of the source file. Use the inspector to watch time to first frame on a real session.
Videos follows your organization roles. The videos.read and videos.write scopes control who can view and manage videos, renditions, and captions. The project.videos.profiles.read and project.videos.profiles.write scopes cover encoding profiles.
Start streaming with Videos
Upload a file to Storage, create a video, and get an adaptive stream URL for any HLS or DASH player.
Explore Appwrite
Modular backend services that share the same project, permissions model, and console.
Build
- AuthEmail, OAuth, SMS, MFA, teams, and sessions.
- DatabasesManaged PostgreSQL, TablesDB, DocumentsDB, VectorsDB, MySQL.
- PostgreSQLManaged PostgreSQL with pooling, replicas, and PITR.
- StorageUpload, transform, and deliver files on CDN.
- FunctionsAPIs, cron jobs, and event handlers at scale.
- MessagingEmail, SMS, and push with topics and targets.
- VideosAdaptive HLS, DASH, and CMAF streams with subtitles.
- RealtimeLive events, channels, and presence.
