mirror of
https://github.com/allankoechke/slint.git
synced 2026-12-05 01:24:17 +00:00
... using taplo with default settings I tried this with 4 spaces indentation, but the patch is almost as big as this one, so I went with default settings instead as that is just easier:-)
FFmpeg Example
This example application demonstrates the use of ffmpeg with Rust to play back video.
Building
On Linux, you need to install ffmpeg and alsa. For example on Debian based systems:
sudo apt-get install clang libavcodec-dev libavformat-dev libavutil-dev libavfilter-dev libavdevice-dev libasound2-dev pkg-config
On macOS, you can use brew:
brew install pkg-config ffmpeg
On Windows:
- install vcpkg
vcpkg install ffmpeg --triplet x64-windows- Set
VCPKG_ROOTto wherevcpkgis installed - Add
%VCPKG_ROOT%\installed\x64-windows\binto your path - Run
vcpkg install llvm[clang,target-x86]:x64-windows - Set
LIBCLANG_PATHto where clang is installed:%VCPKG_ROOT%\installed\x64-windows\bin