Coder Social home page Coder Social logo

ffme.avalonia's Introduction

中文 | English

FFME.Avalonia

说明

一个基于ffmpeg.autogen的Avalonia视频播放控件。

感谢 unosquare/ffmediaelement

使用

1. 安装ffmpeg 4.4,需要动态库版本

Windows

从以下地址下载,或手动编译,需要选择4.4版本。 https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z

Linux

使用包管理器,安装ffmpeg,需要确定,软件源中的ffmpeg为4.4版本,否则需要手动编译

测试ubuntu 22.04、deepin 23 beta2中正常运行

2. 配置ffmpeg动态库路径

参考FFME.Avalonia.Sample,修改App.axaml.cs中的加载路径;

  • windows设置为你解压的ffmpeg的路径
  • linux中需要设置为/usr/lib/x86_64-linux-gnu,具体路径可能根据发行版及cpu架构有所差异,请参照发行版的文档

3. 运行项目

运行FFME.Avalonia.Sample项目,点击打开视频,即可看到效果。

TODO

  • 测试windows;
  • 测试linux;
  • 测试macOS;
  • 完成字幕支持测试;
  • 完善Sample项目;
  • 完善文档;
  • 英文文档。

ffme.avalonia's People

Contributors

wangsyi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.