I am trying to encode a mp4-file with "fast start" using a IMFSourceReader and a IMFSinkWriter. If a use the default settings, with no extra stuff the output file is ok:
ftyp
uuid
mdat
moov
If I then add the attribute: sinkAttr->SetUINT32(MF_MPEG4SINK_MOOV_BEFORE_MDAT, TRUE) the output file gets corrupted, the mdat box is gone and the file is not playable.
Hi,
I am trying to encode a mp4-file with "fast start" using a IMFSourceReader and a IMFSinkWriter. If a use the default settings, with no extra stuff the output file is ok:
If I then add the attribute:
sinkAttr->SetUINT32(MF_MPEG4SINK_MOOV_BEFORE_MDAT, TRUE)
the output file gets corrupted, the mdat box is gone and the file is not playable."In order for the mpeg4 sink to use this attribute, the byte stream passed in must not be slow seek or remote for" ✅
Is this feature working? Or am I doing something wrong?
I am running this on the following system: