mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-27 12:29:41 +00:00
![]() This PR updates the logos and branding guideline of Slint to match the new website design. The new logos are a 1:1 replacement of the old logos except for the circular logo. In the new logo design, there isn't a separate circular logo, as the square logo with circular crop can be used. Further, the logo folder also contains logos in CMYK for use in printed materials. The PMS is just the color value in the naming and can be used where Pantome colors are required. The README has been updated to explain which logos to use when as well as the Slint "blue" color. |
||
---|---|---|
.. | ||
player | ||
build.rs | ||
Cargo.toml | ||
main.rs | ||
pause.svg | ||
play.svg | ||
player.rs | ||
README.md | ||
scene.slint |
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
- Make sure
VCPKG_ROOT
is set to wherevcpkg
is installed - Make sure
%VCPKG_ROOT%\installed\x64-windows\bin
is in your path