Skip to content

Commit 11f7595

Browse files
authored
Merge pull request #3266 from MicrosoftDocs/drewbat/uuf-491551-undocumented-mf-constants
Adding reference pages for undocumented previously released MF attrib…
2 parents 0562241 + 4019836 commit 11f7595

File tree

5 files changed

+152
-0
lines changed

5 files changed

+152
-0
lines changed

desktop-src/medfound/alphabetical-list-of-media-foundation-attributes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ This section contains an alphabetical list of Microsoft Media Foundation attribu
146146
| [MF\_MP2DLNA\_STATISTICS](mf-mp2dlna-statistics.md) | Gets statistics from the DLNA media sink. |
147147
| [MF\_MP2DLNA\_USE\_MMCSS](mf-mp2dlna-use-mmcss.md) | Specifies whether the DLNA media sink uses the Multimedia Class Scheduler Service (MMCSS) |
148148
| [MF\_MP2DLNA\_VIDEO\_BIT\_RATE](mf-mp2dlna-video-bit-rate.md) | Specifies the maximum video bit rate for the DLNA media sink. |
149+
| [MF\_MPEG4SINK\_MAX\_CODED\_SEQUENCES\_PER\_FRAGMENT](mf-mpeg4sink-minimum-properties-size.md) | Specifies the maximum number of coded sequences which the MPEG4 sink will place in each fragment when operating in fragmented mode. |
150+
| [MF\_MPEG4SINK\_MIN\_FRAGMENT\_DURATION](mf-mpeg4sink-min-fragment-duration.md) | Specifies the minimum duration in hns of each fragment which the MPEG4 sink produces when operating in fragmented mode. |
151+
| [MF\_MPEG4SINK\_MINIMUM\_PROPERTIES\_SIZE](mf-mpeg4sink-minimum-properties-size.md) | Tells the MPEG-4 MediaSink how much space to reserve in the MP4 file format header for metadata properties. |
149152
| [MF\_MPEG4SINK\_MOOV\_BEFORE\_MDAT](mf-mpeg4sink-moov-before-mdat.md) | Indicates that 'moov' will be written before 'mdat' box in the generated file. |
150153
| [MF\_MPEG4SINK\_SPSPPS\_PASSTHROUGH](mf-mpeg4sink-spspps-passthrough.md) | Specifies whether the [**MPEG-4 File Sink**](mpeg-4-file-sink.md) filters out sequence parameter set (SPS) and picture parameter set (PPS) NALUs. |
151154
| [MF\_MSE\_ACTIVELIST\_CALLBACK](mf-mse-activelist-callback.md) | Contains a pointer to the application's callback interface for the [**IMFBufferListNotify**](/windows/desktop/api/mfmediaengine/nn-mfmediaengine-imfbufferlistnotify) interface for the active buffer list. |
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
description: Specifies the maximum number of coded sequences which the MPEG4 sink will place in each fragment when operating in fragmented mode.
3+
title: MF_MPEG4SINK_MAX_CODED_SEQUENCES_PER_FRAGMENT attribute (Mfidl.h)
4+
ms.topic: reference
5+
ms.date: 10/31/2025
6+
---
7+
8+
# MF\_MPEG4SINK\_MAX\_CODED\_SEQUENCES\_PER\_FRAGMENT attribute
9+
10+
Specifies the maximum number of coded sequences which the MPEG4 sink will place in each fragment when operating in fragmented mode.
11+
12+
## Data type
13+
14+
**UINT32**
15+
16+
## Remarks
17+
18+
A coded sequence is a group of [IMFSample](/windows/win32/api/mfobjects/nn-mfobjects-imfsample) objects where the first **IMFSample** has the non-zero value for the [MFSampleExtension_CleanPoint](mfsampleextension-cleanpoint-attribute.md) attribute, followed by zero or more **IMFSamples** that have a zero value, or no value, for the **MFSampleExtension_CleanPoint** attribute.
19+
20+
## Requirements
21+
22+
| Requirement | Value |
23+
|-------------------------------------|------------------------------------------------------------------------------------|
24+
| Minimum supported client | Windows 10 version 1709 |
25+
| Minimum supported server | Windows Server version 1709 |
26+
| Header | Mfidl.h |
27+
28+
29+
30+
31+
## See also
32+
33+
<dl> <dt>
34+
35+
[Alphabetical List of Media Foundation Attributes](alphabetical-list-of-media-foundation-attributes.md)
36+
</dt> <dt>
37+
38+
[Media Type Attributes](media-type-attributes.md)
39+
</dt> </dl>
40+
41+
 
42+
43+
 
44+
45+
46+
47+
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
description: Specifies the minimum duration in hns of each fragment which the MPEG4 sink produces when operating in fragmented mode.
3+
title: MF_MPEG4SINK_MIN_FRAGMENT_DURATION attribute (Mfidl.h)
4+
ms.topic: reference
5+
ms.date: 10/31/2025
6+
---
7+
8+
# MF\_MPEG4SINK\_MIN\_FRAGMENT\_DURATIONT attribute
9+
10+
Specifies the minimum duration in hns of each fragment which the MPEG4 sink produces when operating in fragmented mode.
11+
12+
## Data type
13+
14+
**UINT64**
15+
16+
## Remarks
17+
18+
If this attribute is set, the [MF_MPEG4SINK_MAX_CODED_SEQUENCES_PER_FRAGMENT](mf-mpeg4sink-max-coded-sequences-per-fragment.md) attribute is ignored.
19+
20+
## Requirements
21+
22+
| Requirement | Value |
23+
|-------------------------------------|------------------------------------------------------------------------------------|
24+
| Minimum supported client | Windows 10 version 1709 |
25+
| Minimum supported server | Windows Server version 1709 |
26+
| Header | Mfidl.h |
27+
28+
29+
30+
31+
## See also
32+
33+
<dl> <dt>
34+
35+
[Alphabetical List of Media Foundation Attributes](alphabetical-list-of-media-foundation-attributes.md)
36+
</dt> <dt>
37+
38+
[Media Type Attributes](media-type-attributes.md)
39+
</dt> </dl>
40+
41+
 
42+
43+
 
44+
45+
46+
47+
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
description: Tells the MPEG-4 MediaSink how much space to reserve in the MP4 file format header for metadata properties.
3+
title: MF_MPEG4SINK_MINIMUM_PROPERTIES_SIZE attribute (Mfidl.h)
4+
ms.topic: reference
5+
ms.date: 10/31/2025
6+
---
7+
8+
# MF\_MPEG4SINK\_MINIMUM\_PROPERTIES\_SIZE attribute
9+
10+
Tells the MPEG-4 MediaSink how much space to reserve in the MP4 file format header for metadata properties.
11+
12+
## Data type
13+
14+
**UINT32**
15+
16+
## Remarks
17+
18+
The default behavior of the MPEG-4 media sink is to only use exactly the amount of storage required to hold only the current metadata properties in the MP4 file header plus required padding. When this attribute is specified, the media sink reserves the specified amount of storage (in bytes) for properties. If the properties are updated later, or if new properties are added, the media sink will attempt to update the file in-place by writing the properties into the previously reserved space.
19+
20+
21+
## Requirements
22+
23+
24+
25+
| Requirement | Value |
26+
|-------------------------------------|------------------------------------------------------------------------------------|
27+
| Minimum supported client | Windows 10 version 1709 |
28+
| Minimum supported server | Windows Server version 1709 |
29+
| Header | Mfidl.h |
30+
31+
32+
33+
## See also
34+
35+
<dl> <dt>
36+
37+
[Alphabetical List of Media Foundation Attributes](alphabetical-list-of-media-foundation-attributes.md)
38+
</dt> <dt>
39+
40+
[Media Type Attributes](media-type-attributes.md)
41+
</dt> </dl>
42+
43+
 
44+
45+
 
46+
47+
48+
49+

desktop-src/medfound/toc.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2937,6 +2937,12 @@
29372937
href: mf-mp2dlna-use-mmcss.md
29382938
- name: "MF_MP2DLNA_VIDEO_BIT_RATE"
29392939
href: mf-mp2dlna-video-bit-rate.md
2940+
- name: "MF_MPEG4SINK_MAX_CODED_SEQUENCES_PER_FRAGMENT"
2941+
href: mf-mpeg4sink-max-coded-sequences-per-fragment.md
2942+
- name: "MF_MPEG4SINK_MIN_FRAGMENT_DURATION"
2943+
href: mf-mpeg4sink-min-fragment-duration.md
2944+
- name: "MF_MPEG4SINK_MINIMUM_PROPERTIES_SIZE"
2945+
href: mf-mpeg4sink-minimum-properties-size.md
29402946
- name: "MF_MPEG4SINK_MOOV_BEFORE_MDAT"
29412947
href: mf-mpeg4sink-moov-before-mdat.md
29422948
- name: "MF_MPEG4SINK_SPSPPS_PASSTHROUGH"

0 commit comments

Comments
 (0)