Global Feed Post Login
Replying to Avatar franzap

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

Avatar
Vincent 7mo ago 💬 1

Censorship-resistant video sharing 🤯

Reply to this note

Please Login to reply.

Discussion

Avatar
franzap 7mo ago

Exactly

Thread collapsed