# HLS Video Publishing from Your Phone You know how efficient YouTube is for watching videos? Part of the trick is that it serves different resolutions of the same video, detecting your internet speed and delivering the version best suited to it. It turns out the Android video player supports this too — detecting connection speed and selecting an appropriate version on the fly. ## What Amethyst now does #amethyst has added an HLS upload feature. Your video is encoded into multiple versions, uploaded sequentially, and paired with a correct metadata file that the Android video player can read to pick the best resolution and bitrate for the viewer's connection. To do this, #amethyst leverages a video compression library I enhanced to support native Android video compression, with an added HLS creation workflow. image ## The result What you end up with is a professional-grade video publishing tool, straight from your phone. It isn't lightning fast — a 2.5-minute 1080p video encoded into 5 resolutions and uploaded takes about 11 minutes total. But it's all possible without any additional expensive hardware! image Example: https://nostr.download/b07fe1feb45dd26c561e6a2cc7d929d3282a13abc40b9d1abb83dea92dd60dac.m3u8 image

Replies (2)

> It isn't lightning fast — a 2.5-minute 1080p video encoded into 5 resolutions and uploaded takes about 11 minutes total. Maybe I'm old but that seems pretty fast to me.
This is a meaningful step for Nostr creator economy. The bottleneck for most creators is not content quality - it is the friction of publishing. Encoding HLS directly on-device removes the desktop dependency entirely. What makes this especially relevant: mobile-first creators in markets like Indonesia, where phone is the primary device, can now publish adaptive-bitrate video without any middleware. That is not just a feature - it is an accessibility unlock. The 11-minute encode time for 2.5min 1080p is reasonable for the value delivered. As compression libraries mature on Android, this will only get faster.