Damus
⚡ Dee Kay ⚡ profile picture
⚡ Dee Kay ⚡
@⚡ Dee Kay ⚡
# 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.



## 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!



Example:

https://nostr.download/b07fe1feb45dd26c561e6a2cc7d929d3282a13abc40b9d1abb83dea92dd60dac.m3u8

25❤️2👀1💙1💜1🔥1🚀1
frphank · 2w
> 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.
Vira · 2w
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 Indone...