Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/WangsYi/ffme.avalonia
A media element based ffmpeg for AvaloniaUI。
https://github.com/WangsYi/ffme.avalonia
Last synced: 2 months ago
JSON representation
A media element based ffmpeg for AvaloniaUI。
- Host: GitHub
- URL: https://github.com/WangsYi/ffme.avalonia
- Owner: WangsYi
- License: lgpl-2.1
- Created: 2023-09-20T12:23:18.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-09T06:05:31.000Z (about 1 year ago)
- Last Synced: 2024-02-15T11:33:53.740Z (12 months ago)
- Language: C#
- Size: 411 KB
- Stars: 18
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.en.md
- License: LICENSE
Awesome Lists containing this project
- awesome-avalonia - FFME.Avalonia - MediaElement based on FFMpeg. (Libraries & Extensions / Controls)
README
中文 | English
# FFME.Avalonia
## Description
A video playback control for Avalonia based on [ffmpeg.autogen](https://github.com/Ruslan-B/FFmpeg.AutoGen).
> Thanks to [unosquare/ffmediaelement](https://github.com/unosquare/ffmediaelement)## Usage
### 1. Install ffmpeg 4.4, the shared library version
#### Windows
Download from the following link or compile manually, make sure to choose version 4.4.
`https://github.com/GyanD/codexffmpeg/releases/download/4.4/ffmpeg-4.4-full_build-shared.zip`#### Linux
Use a package manager to install ffmpeg. Ensure that the software source's ffmpeg version is 4.4, or manually compile it.
> Tested and running fine on Ubuntu 22.04 and Deepin 23 beta2.### 2. Configure the ffmpeg dynamic library path
Refer to FFME.Avalonia.Sample, modify the loading path in App.axaml.cs:
- For Windows, set it to the path where you extracted ffmpeg.
- For Linux, it should be set to `/usr/lib/x86_64-linux-gnu`. The specific path may vary depending on the distribution and CPU architecture, so please refer to your distribution's documentation.### 3. Run the project
Run the FFME.Avalonia.Sample project, click on "Open Video," and you'll see the results.
## TODO
- [x] Test on Windows.
- [x] Test on Linux.
- [ ] Test on macOS.
- [ ] Complete subtitle support testing.
- [ ] Improve the Sample project.
- [ ] Enhance documentation.
- [x] Create English documentation.