# HLS Video Publishing from Your Phone

⚡ Dee Kay ⚡

npub1e2yuky03caw4ke3zy68lg0fz3r4gkt94hx4fjmlelacyljgyk79svn3eef

hex

93c39a13f322f814cbdadaef032084ea5066a2425795ea86ad4e9bbaba371285

nevent

nevent1qqsf8su6z0ej97q5e0dd4mcryzzw55rx5fp90902s6k5axa6hgm39pgprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgsv4zwtz8cuwh2mvc3zdrl5853g365t9j6mn25edlul7uz0eyzt0zc5ureyw

Kind-1 (TextNote)

2026-06-04T08:01:21Z

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.

https://nostr.download/69825eae1c252d4615baee6d011c363a60b96ce84473f811a2e7fe167338e248.jpg

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!

https://nostr.download/73ba033ef5e0064aa900c7078ac8c1c1e160f1f472f9f54354f3108486965536.jpg

Raw JSON

{
  "kind": 1,
  "id": "93c39a13f322f814cbdadaef032084ea5066a2425795ea86ad4e9bbaba371285",
  "pubkey": "ca89cb11f1c75d5b6622268ff43d2288ea8b2cb5b9aa996ff9ff704fc904b78b",
  "created_at": 1780560081,
  "tags": [
    [
      "alt",
      "A short note: # HLS Video Publishing from Your Phone\n\nYou know h..."
    ],
    [
      "t",
      "amethyst"
    ],
    [
      "r",
      "https://2.5-minute/"
    ],
    [
      "r",
      "https://nostr.download/69825eae1c252d4615baee6d011c363a60b96ce84473f811a2e7fe167338e248.jpg"
    ],
    [
      "r",
      "https://nostr.download/73ba033ef5e0064aa900c7078ac8c1c1e160f1f472f9f54354f3108486965536.jpg"
    ],
    [
      "imeta",
      "url https://nostr.download/69825eae1c252d4615baee6d011c363a60b96ce84473f811a2e7fe167338e248.jpg",
      "x 69825eae1c252d4615baee6d011c363a60b96ce84473f811a2e7fe167338e248",
      "size 75560",
      "m image/jpeg",
      "dim 1080x2202",
      "blurhash [C6aSixuj?WC9:fioMWB=*juWAf8EaofjcWB$.axWUayI+ayoMay$.j[WAaxI,juj]j[$-j@bEfP",
      "ox 69825eae1c252d4615baee6d011c363a60b96ce84473f811a2e7fe167338e248"
    ],
    [
      "imeta",
      "url https://nostr.download/73ba033ef5e0064aa900c7078ac8c1c1e160f1f472f9f54354f3108486965536.jpg",
      "x 73ba033ef5e0064aa900c7078ac8c1c1e160f1f472f9f54354f3108486965536",
      "size 49111",
      "m image/jpeg",
      "dim 1080x2424",
      "blurhash [12rs.-=M_E0~X-qt7In?btQWCWBNERi%Mt8R#InoMxvITIUxuxbxvM|Rioes?V_t6WT-=aiRiWT",
      "ox 73ba033ef5e0064aa900c7078ac8c1c1e160f1f472f9f54354f3108486965536"
    ],
    [
      "client",
      "Amethyst"
    ]
  ],
  "content": "# HLS Video Publishing from Your Phone\n\nYou 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.\n\nIt turns out the Android video player supports this too — detecting connection speed and selecting an appropriate version on the fly.\n\n## What Amethyst now does\n\n#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.\n\nTo do this, #amethyst leverages a video compression library I enhanced to support native Android video compression, with an added HLS creation workflow.\n\nhttps://nostr.download/69825eae1c252d4615baee6d011c363a60b96ce84473f811a2e7fe167338e248.jpg\n\n## The result\n\nWhat you end up with is a professional-grade video publishing tool, straight from your phone.\n\nIt 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!\n\nhttps://nostr.download/73ba033ef5e0064aa900c7078ac8c1c1e160f1f472f9f54354f3108486965536.jpg",
  "sig": "4e0ebc33e481566a1d2fa90c49ae6f905a4594a66f525b4224336298003142b1e2141ead9198c3920f0a525f17dcac7e7fb9fb6fc22601476aac38a2fdcbc484"
}