Rollini / hwcodec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Driver installation

For linux, it may be necessary to install the driver. See compile doc

Library dependency

see build.rs

compile it yourself

see doc

TODO

  • Scoring and automatic selection of codecs
  • Support for more platforms

About


Languages

Language:C 98.7%Language:Rust 1.3%