Code Monkey home page Code Monkey logo

hwcodec's Introduction

A real-time hardware codec library for RustDesk based on FFmpeg

Platforms

  • Windows
  • Linux
  • macOS
  • iOS
  • android

Codec

encoder decoder
h264 h264_nvenc, h264_amf, h264_qsv h264, h264_qsv
h265 hevc_nvenc, hevc_amf, hevc_qsv hevc, hevc_qsv

Features

  • Support Nvidia, AMD graphics cards (Intel partial)
  • All codecs are latency-free

Start

Run in Rustdesk

cargo run --features hwcodec

Notice

cargo update -p hwcodec

Linux Driver installation

Nvidia

drivers or install by Software&Update/Additional Drivers

AMD

  • Install the drive tool according to official document,install amdgpu-install of your own system.
  • disable desktop , Run:amdgpu-install -y --usecase=amf
  • If the driver is not installed properly, an error may be reported:DLL libamfrt64.so.1 failed to open.

Linux library dependency

sudo apt-get install libva-dev libvdpau-dev

TODO

  • Support qsv in RustDesk
  • Scoring and automatic selection of codecs
  • Support for more platforms

hwcodec's People

Contributors

21pages avatar kg7x avatar heap-hop 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.