-
Notifications
You must be signed in to change notification settings - Fork 34
Request: Encode MSE-compatible MPEG4 for low latency streaming #76
Copy link
Copy link
Open
Description
Would it be possible to extend Media Foundation to allow direct encoding of Media Source Extensions (MSE) compatible fragmented MPEG4 for low latency video streaming to web browsers?
This would likely require the following changes to MFTranscodeContainerType_FMPEG4:
- Modify Track Fragment Header Box (
tfhd) by removing thebase_data_offsetparameter and setdefault-base-is-moofflag. - Add missing Track Fragment Decode Time (
tfdt) withbaseMediaDecodeTimeparameter. - Modify Track fragment Run box (
trun) by adjusting thedata_offsetparameter.
Background
- Original StackOverflow question: MFCreateFMPEG4MediaSink does not generate MSE-compatible MP4.
- Sample implementation: The AppWebStream project is already editing the bitstream generated by
MFCreateFMPEG4MediaSinkwithMFTranscodeContainerType_FMPEG4andMF_LOW_LATENCYto make it MSE compatible. It would be nice to avoid having to edit the bitstream in the first place.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels