realiable hosting and encoding of videos is a hard problem, a problem youtube has been working on and perfecting for decades. its also not a problem nostr clients are specifically designed to solve. we have plans on improving this on damus, but damus is mostly focused on text content at the moment.
Discussion
nostr:npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w was working on this at one point, but the cost of transcoding makes it too expensive to offer on any lower-tier version
My other issue is that every attempt to upload to nostr:nprofile1qqsv73dxhgfk8tt76gf6q788zrfyz9dwwgwfk3aar6l5gk82a76v9fgpr9mhxue69uhhyetvv9ujuumwdae8gtnnda3kjctv9uqsuamnwvaz7tmwdaejumr0dshs7jlfdl for almost a week now has ended with “failed to fetch” error, and that’s supposed to be the Nostr YouTube. I even have some videos up there but now I can’t upload anymore.
nah, its simple as 1 2:
does user have a gpu?
yes: encode locally
no: require payment
is the video large:
yes: require payment
no: host for free
video quality that works for 90 % is h264, 1080p, 24-60 fps, 8 Mbps
to cover the rest 10 %:
h264, 480p, 24 fps, 2 Mbps
to cover high end demand:
h264/h264/av1, 4k, 24-60 fps, 20 Mbps
to cover leading edge:
h264, h265 or av1, 8k, 60-120 fps, 50 Mbps
(incl vr180 sbs 3d)