webm streaming video example
should utilize buffering, but relay wants to send all parts once anyway for some reason
#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
simplest #degoogle of any #android phone, is to never give any username or password
download apps here
#apkcombo #apkpure
#degoogle #youtube. download #freetube
ytstv is showing excellent ui among torrent sites
i dont even get it why most torrent sites are just simple lists of files
using html mediasource to stream video, 30 seconds example fixed
#video #nostr #uploader #fileloader #fileuploader
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
#video #nostr #uploader #fileloader #fileuploader
using html mediasource to stream video
#video #nostr #uploader #fileloader #fileuploader
#file #viewer and #uploader on #nostr #fileloader.html #filepublish.html #ipfs
gateway
local
http://bafybeicb77lk7y4j7nwjm3csvnop5cjwazaygbowzr5ewnazcelw5s725m.ipfs.localhost:8080
storj (source)
https://demo.storj-ipfs.com/ipfs/QmQ4gWKk59pPgVqBZFB9yTRRXJoJtskmBvveo5wm3H7qQd
https://demo.storj-ipfs.com/ipfs/QmW1KLuEhFMssZ8CpHG4GYYMJF55HSou5LTa52ZLCYZemY
https://demo.storj-ipfs.com/ipfs/QmX8qB1EaB3KdwgMuv2CXsnss5MegaUBnkEsCxZJnUcLt1
https://demo.storj-ipfs.com/ipfs/QmPsQLeyLM5wtHCViQp2xUDr9mStH95uhpzUwM56FUDy2f
https://demo.storj-ipfs.com/ipfs/Qme4upXamek9S5AbYNrFzkUMQ2c2Vrvz6AbPRKoqCpYyff
https://demo.storj-ipfs.com/ipfs/QmWzdgtfNPMj2sUFkk1o7dXMwHDcsLqDcB8QsdXKLuSbdJ
#file #viewer and #uploader on #nostr #fileloader.html #filepublish.html #ipfs
gateway
local
http://bafybeifbiu3yfdlxs3re6i3amoctxj4qdhfqxqkiocnfxmrkaoog4hhmie.ipfs.localhost:8080
storj (source)
https://demo.storj-ipfs.com/ipfs/QmQ4gWKk59pPgVqBZFB9yTRRXJoJtskmBvveo5wm3H7qQd fileloader.html
https://demo.storj-ipfs.com/ipfs/QmW1KLuEhFMssZ8CpHG4GYYMJF55HSou5LTa52ZLCYZemY filepublish.html
https://demo.storj-ipfs.com/ipfs/QmX8qB1EaB3KdwgMuv2CXsnss5MegaUBnkEsCxZJnUcLt1 hostrup.sh
https://demo.storj-ipfs.com/ipfs/QmZcyoeSoA5JA9956aQscp2gSARc1Kues1QDheXY8fTiVD ipfsup.sh
https://demo.storj-ipfs.com/ipfs/Qme4upXamek9S5AbYNrFzkUMQ2c2Vrvz6AbPRKoqCpYyff post.html
https://demo.storj-ipfs.com/ipfs/QmWzdgtfNPMj2sUFkk1o7dXMwHDcsLqDcB8QsdXKLuSbdJ server.js
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
#fileloader and #filepublish source code on ipfs
https://demo.storj-ipfs.com/ipfs/QmewrCb4Ek27uV7cTkofVY4CJ2J9gvG9guq78bP5aiWJGv
https://demo.storj-ipfs.com/ipfs/QmXVopG4icQsNYov3iUEWLEM597GE6axpkvpGx66x2YNJi
#video #nostr #uploader
https://bafybeihwx5h6oepxuxnvzovddpoad3g43d3dvmtz4okhh2m3u27o572kw4.ipfs.dweb.link/
https://bafybeieicg2loo7awn665u2x5cyraejh5xgq7mmmh5qo3k5iwdmwfaaz74.ipfs.dweb.link/
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
#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)
#video #nostr #fileloader #uploader
5 minute video works as well
#video #nostr #fileloader #uploader
2 minute video uploaded on relays
updated split file format uploading in theory supports larger files
#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
#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