Why Nostr? What is Njump?
2025-05-05 14:25:13

franzap on Nostr: I just built a tool. Video on-demand from encrypted chunks on multiple Blossom ...

I just built a tool.

Video on-demand from encrypted chunks on multiple Blossom servers 🤯

If you have (or can install) nak, nodejs, ffmpeg can you check it works for you?

nak req --id ec1688e87843e8774d1813c371fe65af890be090bdb831f03ceefdd2144ad679 wss://relay.damus.io | npx --yes github:franzaps/n2m3u8 | ffmpeg -f hls -allowed_extensions ALL -protocol_whitelist file,http,https,tcp,tls,crypto,fd -i - -f mpegts - | mpv -

This:
- Fetches a nostr event with hashes of video chunks
- Input into my tool that finds the working chunks in Blossom servers and outputs a HLS playlist
- Input to ffmpeg that decrypts and decodes the stream
- Input to video player. (Replace mpv with vlc or other video player, can also save to a video file)

Volume UP!

#asknostr #blossom #devstr
Author Public Key
npub1wf4pufsucer5va8g9p0rj5dnhvfeh6d8w0g6eayaep5dhps6rsgs43dgh9