Reputation: 3078
Assuming the client does not support byte-range requests and therefore will make requests like test.mp4?startoffset=2000
How can the server prepare an mp4 header that works for all requests... is there a bare minimum that works every time or must it be the actual original header?
Similarly, is there a way to use ffprobe to export the original header as-is (i.e. binary format) so that it can simply be resent at the beginning of each request, by the server?
Thanks!
EDIT: Did some digging around using AtomicParsley and looking at some pseudostreamed videos via archive.org. Seems that the "header" does need to be reconstructed for the new stream. Specifically, the moov atom and mdat data.
Putting aside mdat for now, are there any helpful libraries out there that will convert from moov to moov, or at least make it easier? No C++ please, but C is fine
Upvotes: 1
Views: 451