Livepeer 402 Middleware
Decentralized Video Transcoding
Transform your videos using Livepeer's decentralized infrastructure. Pay only for what you use with instant crypto payments via the 402 protocol. No subscriptions, no commitments - just pay-per-transcode.
Why Choose Our Service?
💰 Pay-Per-Use
Only $0.01 per transcoding job. No monthly fees or subscriptions.
âš¡ Instant Processing
Fast transcoding powered by Livepeer's decentralized network.
🔒 Crypto Payments
Secure payments via Base network using the 402 protocol.
🎬 Multiple Formats
Support for MP4, WebM, MOV with quality presets.
API Usage
POST /api/x402/transcode/VOD
Content-Type: application/json
X-PAYMENT: [crypto payment header]
{
"videoUrl": "https://example.com/video.mp4",
"width": 1920,
"height": 1080,
"bitrate": 6000000,
"fps": 30,
"quality": 20
}💡 Note: Include the X-PAYMENT header with your crypto payment to access the service.
Parameter Reference:
videoUrl: Required - URL of the video to transcode
width: Optional - Output width in pixels (default: 1280, max: 7680)
height: Optional - Output height in pixels (default: 720, max: 4320)
bitrate: Optional - Video bitrate in bps (default: 3000000, range: 100k-50M)
fps: Optional - Frames per second (default: 30, range: 1-120)
quality: Optional - CRF quality 0-51, lower=better (default: 23)