Skip to content

Show HN: Lorem.video – placeholder videos generated from URLs

lorem.video
6 pointsguntis_dev3 comments
On HN

At work I have to deal with videos in different resolutions. We're also switching from H.264 to AV1, so I needed a quick way to test our video pipeline with different formats and sizes.

I created lorem.video - a service that generates placeholder videos directly from the URL. For example: https://lorem.video/1280x720_h264_20s_30fps

You control everything via the URL path: resolution, duration, codec (h264/h265/av1/vp9), bitrate, and fps. Videos are cached after first generation, so subsequent requests are instant.

Built it in Go using FFmpeg for encoding. Generation runs in a nice'd process so it doesn't interfere with serving cached videos. Running on a cheap VPS.

MIT licensed, source on GitHub: https://github.com/guntisdev/lorem-video

Comments

Very interesting idea, I also deal with similar issues at my workplace. Will ask the chaps from designated team to check this out.

Thanks! Let me know if you run into any issues or need additional codecs/formats.

Purrrfect and so easy to use! Lovely cat, btw

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.