Video Streaming & Transcoding
Upload any video and get HLS streams with adaptive bitrate, thumbnails, watermarks, and global delivery.
$0.005 / minute
// Upload and transcode to HLSconst asset = await stack0.cdn.upload({projectSlug: 'my-project',file: videoBuffer,filename: 'course-video.mp4',})const job = await stack0.cdn.transcode({projectSlug: 'my-project',assetId: asset.id,outputFormat: 'hls',variants: [{ quality: '720p', codec: 'h264' },{ quality: '1080p', codec: 'h264' },],})const urls = await stack0.cdn.getStreamingUrls(asset.id)
Features
What's included
HLS Streaming
Automatic transcoding to HLS with .m3u8 playlists for adaptive streaming.
Multi-Resolution
Generate 360p to 4K quality variants automatically.
Video Merge
Combine videos, images, and audio into compilations.
Watermarks
Add image or text overlays with 9 position options.
Thumbnails
Extract frames at any timestamp for previews.
Audio Extraction
Extract audio tracks to MP3, AAC, or WAV.
Capabilities
Built for production
HLS Adaptive Streaming
Automatically switch quality based on viewer bandwidth. No buffering.
outputFormat: 'hls'Multi-Quality Variants
Generate 360p, 480p, 720p, 1080p, 1440p, and 4K variants.
variants: ['720p', '1080p', '4k']Video Merge & Compile
Combine clips, add music, create slideshows from images.
stack0.cdn.createMergeJob({ inputs, audioTrack })Trim & Clip
Extract segments with precise start and end times.
trim: { start: 10, end: 60 }Global CDN Delivery
Stream from 400+ edge locations with low latency.
stack0.cdn.getStreamingUrls(assetId)Codec Support
H.264 for compatibility, H.265 (HEVC) for 4K efficiency.
codec: 'h264' | 'h265'Use cases
Built for real applications
Course Platforms
Upload lectures, transcode to HLS, deliver multiple quality levels to students worldwide.
User-Generated Content
Process uploaded videos automatically with consistent quality and format.
Marketing Videos
Create compilations, add branded watermarks, merge clips for promotional content.
Internal Training
Training video libraries, meeting recordings, internal documentation with video.
Photo Slideshows
Combine images with music to create video presentations.
Podcast Video
Add video to podcasts or extract audio from video recordings.
Pricing
Simple, usage-based
Plans start at $5/month. No long-term contracts.
FAQ
Frequently asked questions
We support all common video formats including MP4, MOV, AVI, MKV, and WebM. Any format FFmpeg can decode will work.
Transcoding speed depends on video length and quality settings. Typically 2-3x real-time for 1080p. Use webhooks to get notified when complete.
HLS works with HLS.js (web), Video.js, native Safari, iOS, Android, and most smart TVs. We provide code examples for HLS.js integration.
Yes. Add image or text watermarks during transcoding with control over position, opacity, and size. 9 position options available.
Video streaming is integrated with Stack0 CDN. Upload to CDN, transcode for streaming—same SDK, same dashboard, same billing.
Currently we support on-demand video (VOD). Live streaming with RTMP ingest is on our roadmap.
Ready to build?
Plans start at $5/month.