The source project of this merge request has been removed.
FMP4Mux/cmafmux : Adding header mode to write ftyp & moov on EOS/filechange
FMP4Mux/cmafmux : Adding header mode to write ftyp & moov on EOS/filechange This mode will write the ftyp & moov at the start of the file when used with splitmuxsink.
HeaderUpdateMode::Update is appending at the end and is duplicating the moov on the first sequence; and HeaderUpdateMode::Rewrite is incompatible with an un-seekable AppSink in output.
The need for a recurring moov box is from a CCTV need to record continuously for months (with proper continuous sequence_number & time), while being able to clear the older files to make spaces for the new ones.