Windows Media Format Runtime

0 views
Skip to first unread message

Shinyoung Gedris

unread,
Aug 3, 2024, 11:47:52 AM8/3/24
to placadlegua

WMA and WMV are default video file types for Windows. But you need a software to play them. If there are files which have issues when handling the system files then it is the multimedia tools. The default Windows media is the best when it comes to encoding and decoding of video and audio codecs. However, users of the latest version and still feel they need no upgrade are the main beneficiaries of this application.

It solves the problem of the third-party application simply because they have the old OS. With this, it places itself on the system just like the new version to still benefit from the updates of the new version without necessarily updating the OS.

Its configuration settings are very simple and effective. although it still uses the external codecs you can always integrate it on your system with ease. It is not just a tool with basic features, it has advanced function ideal for any audio and video file format.

Windows Media Format Runtime is licensed as freeware for PC or laptop with Windows 32 bit and 64 bit operating system. It is in other video tools category and is available to all software users as a free download.

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The Windows Media Format 9 Series SDK introduced many improvements and features. This section provides an overview of those features for the benefit of users migrating from an earlier version of the SDK.

You can read ASF files with synchronous calls. When reading a file synchronously, you can change the settings of the reader while it is reading. The synchronous reading operations of the SDK do not provide support for reading files over the Internet, but you can use the standard COM interface, IStream, to read from custom sources.

The Windows Media Format SDK enables you to store SMPTE time codes in ASF files. Files can be indexed by SMPTE time code, and both the asynchronous reader and synchronous reader can seek to SMPTE time code index entries.

The Windows Media Format SDK includes two Microsoft DirectShow filters that enable DirectShow-based applications to read and write ASF files. DirectShow also enables applications to capture data from audio-video devices and decompress data from a variety of formats before re-encoding it as Windows Media-based content.

Profiles can contain bandwidth sharing information and stream prioritization information. Bandwidth sharing enables you to specify that two or more streams, regardless of their individual bit rates, will never use more than a specified amount of bandwidth. The bandwidth sharing data in a profile is purely informational; it is not enforced by any logic in the SDK. Stream prioritization enables you to specify an order of priority for the streams in a profile. If there is not enough bandwidth at playback to stream the file properly, the lowest priority streams can be ignored in order to improve performance.

In addition to the existing DRM-reading support, the Windows Media Format 9 Series SDK added support for writing ASF files with either DRM version 1 or DRM version 7 protection. This new capability enables "Live DRM" scenarios such as pay-per-view webcasting of live sporting events or concerts.

Several new file sink capabilities were added to the 9 Series version of the SDK. You can configure the file sink to disable automatic indexing of newly created ASF files. You also have the option to configure it for unbuffered input and output.

DirectX Video Acceleration (DXVA) is a technology that enables playback of high-bit-rate video (DVD quality or better) on less powerful machines with DXVA-enabled graphics cards. You can use the reader object of this SDK to enable DirectX Video Acceleration, if the hardware supports it, when playing ASF files.

You can encode ASF files with digital watermarks for security. All watermarking systems are different in their approach, but all embed identification into encoded content. Watermarking is performed using special third-party DirectX media objects (DMOs).

You can support multiple languages in ASF files, both in streams and in metadata. For example, you can create a video file with audio streams in several languages. At playback, the user can select which language to use, or your application can query the system information on the playing computer and select a language automatically. Metadata attributes can also be entered multiple times, with the values in different languages.

To assist in targeting content to specific client devices, the Windows Media codecs now support device conformance templates. Each template contains a defined range of settings and codec features that should be used for media intended for a particular category of platforms. System profiles are no longer supported with the latest versions of the Windows Media codecs. All profiles must be customized to suit your needs. You can use device conformance templates to assist you in designing your profiles.

The profile manager object can query the Windows Media Audio and Video codecs for supported formats. You can set parameters for the formats retrieved. For example, you can retrieve all the quality-based variable bit rate formats supported by the Windows Media Audio 9 codec.

You can create named records containing multiple streams within a mutual exclusion object. You can also name mutual exclusion objects to make them easier to identify. This enables you to create layers of mutual exclusion. For example, a file can contain streams that are mutually exclusive by bit rate and by language. The language-based mutual exclusion would involve groups of streams, each group consisting of streams in the same language but mutually exclusive by bit rate.

You can assign attributes to individual streams in ASF files. You must still use file-level attributes for MP3 files. This feature does not add any methods to the SDK, but the existing methods will now accept stream numbers other than zero.

Video streams that are composed of various types of content can be accommodated by identifying the pixel aspect ratio of the disparate samples in the stream. This enables the playing application to provide better playback of such content.

Previous versions of the Windows Media Format SDK have provided the ability to encode interlaced content into a progressive-scan video stream. Starting with the Windows Media Format 9 Series SDK, you can encode interlaced video while preserving its interlaced format. This can result in improved playback, particularly on interlaced devices, such as television sets.

This SDK includes the new Windows Media Audio 9 Voice codec which is optimized for encoding the human voice while using a low bit rate. This codec also provides superior performance for mixed music-voice content.

With previous version of this SDK, you were able to use a script command to signal your application to open a Web page. Starting with the Windows Media Format 9 Series SDK, you can store the components of Web pages in your ASF files, to ensure that there is no lag in presentations.

The build-environment settings for the Windows Media Format SDK changed starting with the Windows Media Format 9 Series SDK. You no longer need to include WMStub.lib for applications using this SDK. However, DRM-enabled applications still must obtain and sign a separate license agreement, and obtain a unique static library from Microsoft. Contact wm...@microsoft.com for more information about the DRM library and license agreement. For more information about building projects with this SDK, see Library Files and Compiler Settings.

I want to open a video file using IMFSourceReader to access its Frames as IMFSample.In a WinRT C++ Class I send the RandomAccessStream of a video file and use the following code to create an IMFSourceReader object.

The return code sounds pretty clear. What is the video/audio format of the file you want to play? If you are unable to play it back with TopoEdit either, then you have no available codec for this format.

To extract an uncompressed video sample no matter what way, first you have to decode it from it's encoded stream. In your case you are missing a decoder. Maybe your question should be is there another framework I can use instead of Media Foundation?

I don't think so. The DirectShow API is not available for Windows RT, as far as I know even ffmpeg can not be compiled for that OS. So I guess your only choice is to rely on Media Foundation and it's set of codecs.

In your case the IMFMSourceReader factory function (MFCreateMFByteStreamOnStreamEx) is unable to create source reader. This will mean that your system lacks a adequate container parser (i.e. splitter a.k.a. demultiplexor). So it is unable to extract the elementary media streams from the container. This is really the stage before decoding.

I have found a solution to the The Byte Stream Type of the Given URL is unsupported problem of IMFSourceReader. I could read Byte Stream of WMV files, some MP4 files but not all kind of video files. So before using MFCreateSourceReaderFromByteStream() I converted the video stream to VC-1/WMV format which the MFCreateSourceReaderFromByteStream() is able to read. I used the Transcoding media sample of MSDN to convert he video into WMV video. Now I am able to use MFCreateSourceReaderFromByteStream() without any error.

Hi guys, I'm trying to run the Graphics and sounds examples of Labview but haven't had any success, Labview generates the next error:
LabVEW: (Hex 0x12CA) Cannot recognize sound format

I've tested the examples of labview on another computer with sucess, but this particular computer hasn't been able to run the examples, I have my sound drivers up to date. Any info on the topic is appreciated, thanks in advanced.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages