Media Sources
Learn how to provide media assets from various sources
Overview
Probe.dev can analyze media files from various sources. Simply provide a direct link to your media file, and our API will securely fetch and analyze it.
Public URLs
The simplest approach is to provide a direct HTTP/HTTPS URL to your media file:
Requirements:
- Must be publicly accessible
- Must be a direct link to the media file (not a webpage)
- Supports HTTP and HTTPS protocols
Amazon S3 Integration
Public S3 Buckets
For publicly accessible S3 objects, use the standard S3 URL format:
Key-Based Authorization
For private S3 objects, include your AWS access credentials directly in the URL:
Example:
Be careful when using access keys in URLs as they may appear in logs. Consider using presigned URLs for better security.
Presigned URLs
For private S3 objects, create a presigned URL with temporary access:
Benefits:
- Temporary access (configurable expiration)
- No credentials in the URL path
- More secure than embedded keys
Creating Presigned URLs
Other Cloud Storage
Google Cloud Storage
Azure Blob Storage
Cloudflare R2
CDN and Streaming Services
Probe.dev works with media served through CDNs and streaming platforms:
Content Delivery Networks
- CloudFront - Amazon’s CDN
- CloudFlare - Global CDN
- Fastly - Edge cloud platform
- KeyCDN - High performance CDN
Streaming Platforms
- Vimeo - Direct links to video files
- YouTube - Public video URLs
- Twitch - VOD direct links
Some platforms require specific URL formats or may have rate limiting. Ensure you’re using direct media file URLs, not embed links.
URL Validation Tips
Valid URL Examples ✅
Invalid URL Examples ❌
Security Best Practices
Access Control
- Use presigned URLs for private content
- Set appropriate expiration times
- Limit access to specific IP ranges when possible
- Monitor access logs for unusual activity
URL Management
- Don’t embed credentials in URLs when possible
- Use HTTPS for all media URLs
- Validate URLs before sending to API
- Consider URL shortening for very long presigned URLs
Troubleshooting
Common Issues
Error | Cause | Solution |
---|---|---|
403 Forbidden | Private content, credentials missing | Use presigned URL or add credentials |
404 Not Found | Incorrect URL or file doesn’t exist | Verify URL and file existence |
Timeout | Large file or slow connection | Check file size and network connectivity |
Invalid URL | Malformed URL | Validate URL format |
Testing Media Sources
Verify your media URL is accessible: