hwcodec's People
Forkers
heap-hop smartekit falconray0704 langshuo burkely-00orso69 jason-weise zhuchuan1978 dylu6699 sj6219 landv jacco-su russr999 rollini kevinmother asdlei99 sitedata necklinux nikajia piradio ermakus kayuii rxtxx rxtxx xox9001 rustdesk-orghwcodec's Issues
Could you add a rust demo ,how to use it in rust like ffmpeg rtsp and rtmp stream push?
Could you add a rust demo ,how to use it in rust like ffmpeg rtsp and rtmp stream push?
thanks
Insert IDR Frame failed on AMD Card(WX Pro 4100)
Hi,
I clone the project, and add an api named insert_idr_frame(), to generate an IDR Frame.
The impl is adding av_opt_set(c->priv_data, "forced-idr", "1", 0); before avcodec_open2() , then set the picture type by encoder->frame->pict_type = AV_PICTURE_TYPE_I before avcodec_send_frame.
This worked at Nvidia card, but no use for AMD card, did you have any idea?
Thanks.
License?
What license is this crate published under?
The hardware encoder does not seem to work properly in the rustdesk night version.
Encoding via Intel graphics is not properly supported on Ubuntu 22.04 and Windows 10 Since Linux uses va-api, Windows doesn't seem to support qsv yet, even if it's an extra. Is this intended?
The cpu used in the encoder is Intel N6005. IGPU has been used.
--windows--
[2022-11-07 01:22:04.839961 +09:00] DEBUG [C:\Users\runneradmin.cargo\git\checkouts\hwcodec-8b4454f7f5e13466\1f03d20\src\encode.rs:231] prepare yuv 1.0783ms
[2022-11-07 01:22:04.860588 +09:00] DEBUG [C:\Users\runneradmin.cargo\git\checkouts\hwcodec-8b4454f7f5e13466\1f03d20\src\encode.rs:253] h264_nvenc new failed 1.8321ms
[2022-11-07 01:22:04.861012 +09:00] DEBUG [C:\Users\runneradmin.cargo\git\checkouts\hwcodec-8b4454f7f5e13466\1f03d20\src\encode.rs:253] h264_amf new failed 2.1723ms
[2022-11-07 01:22:04.864178 +09:00] DEBUG [C:\Users\runneradmin.cargo\git\checkouts\hwcodec-8b4454f7f5e13466\1f03d20\src\encode.rs:253] hevc_amf new failed 1.4291ms
[2022-11-07 01:22:04.865334 +09:00] DEBUG [C:\Users\runneradmin.cargo\git\checkouts\hwcodec-8b4454f7f5e13466\1f03d20\src\encode.rs:253] hevc_nvenc new failed 3.7026ms
[2022-11-07 01:22:04.868158 +09:00] DEBUG [libs\hbb_common\src\config.rs:292] Configuration path: C:\Users\tesn\AppData\Roaming\RustDesk\config\RustDesk_hwcodec.toml
--linux--
[2022-11-07 18:53:17.167367 +09:00] DEBUG [/home/runner/.cargo/git/checkouts/hwcodec-8b4454f7f5e13466/1f03d20/src/encode.rs:231] prepare yuv 1.247427ms
[2022-11-07 18:53:17.170574 +09:00] DEBUG [/home/runner/.cargo/git/checkouts/hwcodec-8b4454f7f5e13466/1f03d20/src/encode.rs:253] hevc_amf new failed 538.615µs
[2022-11-07 18:53:17.171005 +09:00] DEBUG [/home/runner/.cargo/git/checkouts/hwcodec-8b4454f7f5e13466/1f03d20/src/encode.rs:253] h264_nvenc new failed 259.478µs
[2022-11-07 18:53:17.171241 +09:00] DEBUG [/home/runner/.cargo/git/checkouts/hwcodec-8b4454f7f5e13466/1f03d20/src/encode.rs:253] h264_amf new failed 143.477µs
[2022-11-07 18:53:17.173073 +09:00] DEBUG [/home/runner/.cargo/git/checkouts/hwcodec-8b4454f7f5e13466/1f03d20/src/encode.rs:253] hevc_nvenc new failed 216.658µs
[2022-11-07 18:53:17.179104 +09:00] DEBUG [libs/hbb_common/src/config.rs:292] Configuration path: /root/.config/rustdesk/RustDesk_hwcodec.toml
Publish on crates.io?
This crate looks fantastic! Any chance it will be published on crates.io?
Is intel supported or not
why Intel GPU is just partially available?
I find the lib use VAAPI, and according to https://trac.ffmpeg.org/wiki/HWAccelIntro, Intel GPU have good support on VAAPI. Considering a lot devices running intel CPU with integrated GPU, I am curious why Intel GPU is seconded.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.