Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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。

Awesome Lists containing this project

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.