
Open a local file using FileOpenPicker and pass it as a stream to FFmpegInterop. Create a FFmpegInterop object that plugs easily into a XAML MediaElement or WinJS HTML5 Video component. They demonstrate how to achieve the following: Moreover the FFmpegInterop object can be accessed by multiple programming languages including C#, CX/C++, and JavaScript.Īlso included with the FFmpegInterop library for Windows are sample Media Player applications in C#, C++, and JavaScript for Windows 8.1, Windows Phone 8.1, and Windows 10. This FFmpegInterop component can be used as a template to utilize further functionality of the FFmpeg libraries. After following the compilation instructions, developers can include FFmpeg libraries in their applications, enabling apps to play or stream almost any video format.įFmpegInterop is a WindowsRuntime Component that produces a MediaStreamSource which can be assigned to a XAML MediaElement or HTML5 video component for playback of any media file format supported by FFmpeg. In order to leverage the powerful and diverse multimedia features of FFmpeg, we have contributed a set of compilation instructions for Windows 8.1, Windows Phone 8.1, and Windows 10 applications. To demonstrate this we have also included three sample Media Player applications in C#, C++, and JavaScript.
This approach works well because the Windows Media Framework automatically renders and synchronizes media samples while reaping the benefits of hardware acceleration. This project includes the FFmpegInterop WinRT component which processes media with FFmpeg and then leverages the Windows Media Framework for playback.
To solve this issue, we have released an open-source project, FFmpegInterop library for Windows. Typically, after including FFmpeg libraries, developers have to go through the costly effort of rendering audio and video frames themselves. We have released a set of Compilation Instructions for a WinRT compatible build of FFmpeg. Projects that use FFmpeg libraries include Google Chrome, VLC, and many more. These libraries are valuable to developers as they add support for virtually all media formats including. As part of this effort we’re very pleased to announce FFmpeg support for Window 8.1, Windows Phone 8.1, and Windows 10 applications.įFmpeg is a free, open-source multimedia framework that includes a set of tools which can be used by end users for transcoding, streaming, and playing, as well as a set of libraries for developers to use in applications. It is important to Microsoft that developers can leverage open-source software when building apps for Windows.