6/13/2023 0 Comments Ffmpeg crop video lenghtThis could've obviously been done with HLS or DASH, but that required remuxing the files and keeping lots of them. I re-created (I haven't invented this, obviously) a way to split the video file into keyframe segments and mark down the start byte offsets of the keyframes, and then I could "virtually" split the file for streaming, so that a user wouldn't 1) buffer the whole file, 2) need to have the whole file to share to others (P2P in the browser), 3) need to restart the stream and sharing if the connection broke. Yes, indeed, I had worked on a small project of mine and needed a really efficient and cheap way to serve terabytes of data to a lot of users, fast.
0 Comments
Leave a Reply. |