MF_MT_ARBITRARY_FORMAT attribute

Additional format data for a binary stream in an Advanced Systems Format (ASF) file.

Data type

BYTE[]

Get/set

To get this attribute, call IMFAttributes::GetBlob.

To set this attribute, call IMFAttributes::SetBlob.

Remarks

Applications can use binary streams to hold custom data types. The ASF media source treats the value of this attribute as an opaque blob. The formattype member of the MT_ARBITRARY_HEADER structure defines the layout of the format data.

This structure corresponds to the Format Data field of the type-specific data in the Stream Properties Object, in files where the stream type is ASF_Binary_Media. For more information, see the ASF specification.

Note

In the Windows Media Format SDK, binary streams are called arbitrary streams or arbitrary data streams.

 

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
Mfapi.h

See also

Alphabetical List of Media Foundation Attributes

Media Type Attributes

MF_MT_ARBITRARY_HEADER