Image & Media100% Free for AllClient-Side PrivateAuto-saved (3 days)

Sample Video Generator

Record a short animated WebM clip of any length between one and ten seconds, generated live in your browser. Useful for testing video uploads, players, and duration limits.

Video Format
Resolution & Aspect Ratio
3 seconds

Sample video files are the hardest kind to find at short notice — they are large, awkward to source, and most stock clips carry a licence. This records one live in your browser: an animated clip at 640×360, encoded as WebM, at whatever length you choose between one and ten seconds.

How to generate a sample video

  1. Set the length with the slider. Longer clips produce larger files.
  2. Generate. Recording happens in real time, so a five-second clip takes five seconds.
  3. Play it back in the preview to confirm it is a valid video.
  4. Download the .webm file.

The Sample Video Generator runs entirely in your browser — nothing you enter is uploaded, stored, or logged.

When to use this tool

Testing a video upload form

Duration limits, size caps, and format validation all need a real video file to exercise. A generated clip is faster than finding one and carries no licensing question.

Checking a player or embed

A short clip with a visible running timer makes it obvious whether seeking, looping, and autoplay behave as expected.

Placeholder media in a prototype

A moving placeholder shows how a layout handles video without embedding someone else's footage in a demo.

Things worth knowing

  • Recording is real time — there is no way to produce a ten-second clip faster than ten seconds.
  • The output is WebM with VP9 where the browser supports it. MP4 is not available, because browsers do not expose an MP4 encoder to web pages.
  • File size is a consequence of length and content, not something you can set precisely.
  • The clip shows a live timer, which makes playback and seeking problems easy to spot.

Frequently Asked Questions

Can I choose the exact file size?

No. The browser's recorder picks its own bitrate, so you choose the duration and the size follows.

Why can I not set an exact file size?

Because the browser's MediaRecorder chooses its own bitrate based on the content, and the WebM container does not tolerate trailing padding the way JPEG and PDF do. You choose duration and the size follows. For an exact-size file, use the image, PDF, or data generators instead.

Can I get an MP4 rather than WebM?

Not from a browser. MediaRecorder exposes WebM (VP8/VP9) in essentially all browsers and MP4 in almost none, for patent-licensing reasons. Convert the WebM with a desktop tool such as ffmpeg if you specifically need MP4.

Is the video a real, playable file?

Yes. It is captured from a live canvas animation through the browser's encoder, so it plays in any WebM-capable player, which includes every modern browser and VLC.

Does the recording leave my device?

No. The canvas is captured and encoded locally, and the resulting blob is written straight to your downloads.