#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