Replying to Avatar jb55

brainstorming ways with nostr:npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w to improve video performance in Damus. I started documenting all of the steps to enable optimized video if anyone is bored and want to help out:

https://github.com/damus-io/damus/issues/2214

We’ve also been thinking about ways to make any video from the internet into an adaptive bitrate stream so that video loading is good across the board, but that might require a fancy video transcoding proxy.

gm nostr

Any video on the web as adaptive bitrate stream!?! Wow, yes please.

Reply to this note

Please Login to reply.

Discussion

yes imagine a transcoder that started generating segments from any video. The initial m3u8 manifest might just have the original video for the first load, but subsequent loads would have more and more segments. Not sure if this exists but would be really cool.

Not actually sure it could work like that, you may only be able to update the manifest once it’s fully transcoded or else it may stall half way through, but still, would be slick regardless

Peertube does that using FFmpeg. The transcoding of a single live stream (to half a dozen bitrates) only required a couple of low end cores. Iirc the segments fell out of the cache as it overflowed, but no reason why a scoring system couldn't be deployed.

I wasn’t even thinking about that! thats an interesting idea.

Rich media mempool

It is possible, but would be prohibitively expensive at scale. 🐶🐾🫡

Even with middle out compression?

What scale are you talking about? Imagine 100K users sharing a few videos per week. Do the math. Now imagine 1M+ users 🐶🐾🫡

I was just referring to Silicon Valley https://youtu.be/Ex1JuIN0eaA?si=Za5Xm8iEgI3VcH2C

They eventually break all compression records, thanks to the dick to floor variable, amongst many others.

Sorry, I didn’t watch the movie 🐶🐾🤣🫂

It’s a show about Silicon Valley VC culture. Coders and investors, loads of fun. I wish I had never seen it, so I could watch it for the first time again.