lorem.video - Free Placeholder Test Videos for Developers

ยท lorem.video

2 min read Original article โ†—

๐Ÿ“– What is lorem.video?

Need free sample videos for testing your app? Just request a URL with your specs. For prototyping video players, testing responsive designs, streaming applications, or generating placeholder content during development. No signup required, completely free API.

๐Ÿš€ Quick Start Examples

Basic placeholder:
https://lorem.video/720p - Standard 720p test video

Custom resolution:
https://lorem.video/1280x720 - Custom 1280x720 test video

Modern codec testing:
https://lorem.video/720p_av1 - Test AV1 codec support

Short clips for prototyping:
https://lorem.video/720p_h264_10s - Quick 10-second sample

Change video source:
https://lorem.video/cat_128kbps - Cat video instead of default bunny

โš™๏ธ Available Parameters

๐Ÿ“ Resolutions

1080p1440p4k240p360p480p720pWxH custom

๐ŸŽฅ Video Codecs

av1h264h265vp8vp9novideo

๐Ÿ”Š Audio Codecs

aacopusvorbisnoaudio

๐Ÿท๏ธ Names

Parameter Format Default
Nameinput sourcebunny
ResolutionWxH or preset1280x720 (720p)
Video Codeccodec nameh264
Frame RateNUMBERfps30fps
DurationNUMBERs20s
Video BitrateNUMBERcrf/cbr/vbr25crf
Audio Codeccodec nameaac
Audio BitrateNUMBERkbps128kbps
Containerextension.mp4

๐Ÿ“ Parameter Rules:

  • Parameters are separated by underscores (_)
  • If multiple parameters specify the same setting, the last one wins
  • Unknown/invalid parameters are silently ignored
  • Example: /720p_h264_30fps_h265_60fps โ†’ uses h265 codec and 60fps

๐Ÿ“š Testing Scenarios

High-res performance testing:
https://lorem.video/bunny_4k_h265_30fps_60s_23crf_aac_192kbps.mp4

Mobile app development:
https://lorem.video/cat_480p_h264_30fps_15s_26crf_aac_96kbps.mp4

Web player compatibility:
https://lorem.video/test_1080p_vp9_30fps_30s_25crf_opus_128kbps.webm

Legacy WebM playback:
https://lorem.video/bunny_480p_vp8_30fps_10s_25crf_vorbis_96kbps.webm

Audio player testing:
https://lorem.video/bunny_novideo_30s_aac_128kbps.mp4

โš ๏ธ Important Notes:

  • Most popular codecs and resolutions are pregenerated
  • Unconventional params transcodes on demand and stays in cache
  • First-time transcoding may take time depending on complexity
  • AV1 encoding is slower but produces smaller files
  • Codec/container pairing: MP4 carries h264, h265, vp9 or av1 with aac, opus or vorbis audio. WebM carries vp8, vp9 or av1 with opus or vorbis audio. Anything else (h264 in WebM, vp8 in MP4) returns 400 with the supported list.
  • vp8 is WebM only - the container defaults to mp4, so request it with an explicit .webm extension.

๐Ÿ› ๏ธ Usage

๐Ÿงช Testing

Video player development, codec support testing, performance benchmarking

๐ŸŽจ Prototyping

Mockups, demos, design systems, responsive video layouts

๐Ÿ“ฑ Development

Mobile apps, web apps, streaming services, media processing pipelines

๐Ÿ”ง CI/CD

Automated testing, integration tests, deployment validation

๐Ÿ“น Live HLS streams

Available (fake) live streams:

๐Ÿ”— API Endpoints

Endpoint Method Description
/{params} GET Get or generate video with specified parameters
/hls/{fileName} GET Stream live HLS videos (1 second GOP). Not configurable yet!
/getInfo/{filename} GET Get technical information about a video file

๐ŸŒ CORS Policy:

All endpoints include Access-Control-Allow-Origin: * headers, making them safe to use from any domain without CORS issues. Perfect for frontend development, testing, and cross-origin requests.