A real-time hardware codec library for RustDesk based on FFmpeg
- Windows
- Linux
- macOS
- iOS
- android
| encoder | decoder | |
|---|---|---|
| h264 | h264_nvenc, h264_amf, h264_qsv | h264, h264_qsv |
| h265 | hevc_nvenc, hevc_amf, hevc_qsv | hevc, hevc_qsv |
- Support Nvidia, AMD graphics cards (Intel partial)
- All codecs are latency-free
cargo run --features hwcodec
"Unable to update https://github.com/21pages/hwcodec#xxxxxx"
cargo update -p hwcodec
drivers or install by Software&Update/Additional Drivers
- Install the drive tool according to official document,install
amdgpu-installof 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.
sudo apt-get install libva-dev libvdpau-dev
- Support qsv in RustDesk
- Scoring and automatic selection of codecs
- Support for more platforms