

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. I can't seem to find the reason why this doesn't statically link ffmpeg.It is important to Microsoft that developers can leverage open-source software when building apps for Windows. rlib file, that ffmpeg-next should in turn be able to statically link correctly.

The important part seem to be there: the rust-ffmpeg-sys crate is compiled with -l static=avcodec -l static=avdevice -l static=avfilter -l static=avformat -l static=avutil -lĪnd the path to the lib is correct: -L native=/home/polochon/Documents/Programming/Rust/bliss-rs/ffmpeg/lib. What bugs me is that looking at the rustc execution, it seems that it should work (pasted on an external website because it's huge Past-isserie). The compilation process works flawlessly, but then I get errors such as 0158:err:module:import_dll Library avcodec-59.dll (which is needed by L"Z:\\path\\to\\metadata.exe") not found, which pretty explicitly means that the static linking failed.ĬARGO_FEATURE_STATIC=foo FFMPEG_DIR=/path/to/precompiled/ffmpeg/windows/ffmpeg cargo build -release -example=metadata -target x86_64-pc-windows-gnu -verbose -features=static I'm trying to cross-compile a rust-ffmpeg example from linux x86_64 to x86_64-pc-windows-gnu, and then execute it.
