79
user
7924b7703d6ffd7622dc9a8d2e1c818b6e871298859da772776b78271af7b7e6

webm streaming video example

should utilize buffering, but relay wants to send all parts once anyway for some reason

https://h.hostr.cc/p/12daa8df16d9a5d232c14601571a5bf155329a0725aa31af58e7826f8ebd6f1c/d/fileloader.html#ac44be3804ed64e0d8486586ad051682f2f711c81f72a16e2488724886949ed8/inline/sync

#video #streaming #nostr #upload

video encoding has improved quite a lot in recent years, eg vp9 is quite efficient

network traffic isnt that expensive either

also you dont need 4k60, 1080p60 with good quality probably looks good enough even on 4k tv

i believe relays can host video

nostr:nevent1qqsxtc90uu690v8nqfh7t3ccw6fyfry0jr0z74mne3ldz3fmyhn26zcppemhxue69uhkummn9ekx7mp0qgs8jf9hwq7klltkytwf4rfwrjqckm58z2vgt8d8wfmkk7p8rtmm0esrqsqqqqqp35w2hx

if #nostr can host video, we can replace #youtube

simplest #degoogle of any #android phone, is to never give any username or password

download apps here

https://apkcombo.com/

https://apkpure.com/

#apkcombo #apkpure

ytstv is showing excellent ui among torrent sites

i dont even get it why most torrent sites are just simple lists of files

https://ytstv.me

encoding settings for html media source needs to be specific. here is example:

ffmpeg -ss 00:00 -i output-30s.mp4 -t 5 -vcodec libx264 -acodec aac -pix_fmt yuv420p -movflags empty_moov+default_base_moof+frag_keyframe -profile:v baseline output-5s-c.mp4

using html mediasource to stream video

https://h.hostr.cc/p/12daa8df16d9a5d232c14601571a5bf155329a0725aa31af58e7826f8ebd6f1c/d/fileloader.html#7e15483f130b21825f7cd7521f80afd39d4433d3d31e5a3306e9f6f58582fb58/inline

#video #nostr #uploader #fileloader #fileuploader

some thoughts about #uploading #files to #nostr

possible to upload on multiple relays, distribution benefit. any relay can also mirror data if it wants to

if one relay deletes some data, it might still be available elsewhere

#relays only host small #note files, they dont necessarily have capability to check file contents

in case of complaint however, they may need to delete files

it is difficult for relays to scan all notes for content, because of variety of kinds and formats

if relay however notices some kind contains some kind of content it does not want, it is possible to change kind and format

so what is the reliability of file hosting on relays if we consider files that relays may not necessarily want to host

1) do they know they are hosting such content --> probably dont

2) if they know, do they want to delete some notes based on some conditions --> depends, if goverment institution contacts them and requires it, extremely probable that they will

3) we could use relays behind .onion

4) if file uploads become major traffic contributor, relays probably will add more pow requirement

--> it becomes impossible to upload large files, small images and documents can still be uploaded

5) paid relays dont necessarily need pow stuff, they can replace it with payments

at this moment nos.lol accept quite big file uploads, many others complain

#video #nostr #uploader #fileloader #fileuploader

here is #uploader to #upload any #file to #nostr #relays

currently largest confirmed to work file upload is 23 MiB video file

probably even larger files work

https://h.hostr.cc/p/12daa8df16d9a5d232c14601571a5bf155329a0725aa31af58e7826f8ebd6f1c/d/filepublish.html

#video #nostr #fileloader #filepublish #uploader

#nip-95, #nip-96, #nip-97

what?

here is 5 minutes, ~24 MiB video uploaded to relays

works with current relay implementation, fully client side implementation

im using kinds 334, 335, 336

(see source code for details)

https://h.hostr.cc/p/12daa8df16d9a5d232c14601571a5bf155329a0725aa31af58e7826f8ebd6f1c/d/fileloader.html#0132ca97b958660e0b15c01e5a10e2f55038c5edd517efd20d372d4562830dc2/inline/quiet

#video #nostr #fileloader #uploader

#video #nostr #fileloader #uploader

in order for this to work, file need to have been encoded properly with faststart flag

here is example of encoding video for streaming (faststart)

this uses nvidia hardware encoding (av1_nvenc), so change that accordingly if not using nvidia gpu

ffmpeg -ss 00:00 -i \[DKB\]\ SHY\ -\ S01E01\ \[1080p\]\[HEVC\ x265\ 10bit\]\[Multi-Subs\].mkv -t 30 -c:v av1_nvenc -b:v 512K -b:a 192k -strict -2 -vf scale=1280:720 -movflags faststart output-30s.mp4

nostr:nevent1qqsxdw3kn69st8kymwsdwtmkddl648sph7z9fypjvpymz2uv5g6jk2gppemhxue69uhkummn9ekx7mp0qgs8jf9hwq7klltkytwf4rfwrjqckm58z2vgt8d8wfmkk7p8rtmm0esrqsqqqqqpzm8kk5

#video #nostr #fileloader #uploader

this is useful for when uploading large video, eg 300 MB, then server responds it doesnt accept any more parts

now the uploaded part of video should still be playable even if something is missing from the end

nostr:nevent1qqstssg5r5m559gpd2k2r8huy5e6699vpae7kelmkzka53r4vyk7d2cppemhxue69uhkummn9ekx7mp0qgs8jf9hwq7klltkytwf4rfwrjqckm58z2vgt8d8wfmkk7p8rtmm0esrqsqqqqqpn85wq3