-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add VAAPI hardware acceleraction encoder #1
Comments
Hi, thank you for the interest in screencast. I'll take a look at it as soon as I can. |
Do you have the a proper configured system and the supported hardware to make some tests? |
Yes I can try it.
So should work. |
I hope that your VAEntrypointVLD is for decoding only. So probably it will not work if your |
Oh, sorry for the problem, I thought that also means support for encoding. Maybe I should write in the forums or the reddit asking for help in VAAPI tests in the screencast - I think more people should help. |
Ok, no problem. But if you have VAEntrypointEncSlice in Anyway, let me implement it first. I didn't had the time yet. |
VAAPI hardware accelerated video encoding support has been added. It supports H.264, HEVC, VP8 and VP9 encoders. The default DRM render node used by screencast is Some usage examples: Use the default Use Just make sure that you have a supported graphics card and the proper configured system for the desired encoder. |
Awesome work, @dbermond , thanks for this. |
Thanks. Good work. I create topic on reddit linux here: https://www.reddit.com/r/linux/comments/6pnkll/screencast_with_support_for_vaapi_hardware/ Looks like it work fine. |
@Brainiarc7 @AngryPenguinPL Closing this issue. |
Hi.
FFMPEG from 3.1+ series support VAAPI HW encoding for Intel and AMD (closed and open drivers). So If we use old build FFMPEG like in Ubuntu 16.X we need manually compiling FFMPEG with flag vaapi but for new build FMMPEG this is enabled in default (for e.g in Ubuntu 17.04).
So we can record in FFMPEG with VAAPI hardware accelerated encoder like on nvidia with nvenc!
Basic Linux screen recorders can use it but they need only create new profiles to use vaapi hw encoder in h264 like in this request: MaartenBaert/ssr#466 or this https://obsproject.com/forum/threads/experimental-ffmpeg-vaapi-plugin.61529/
Also you can learn more about vaapi hw encode here: https://gist.github.com/Brainiarc7/4b49f463a08377530df6cecb8171306a
and here: https://gist.github.com/Brainiarc7/95c9338a737aa36d9bb2931bed379219
and few more directly in Brainiarc7 github page: https://gist.github.com/Brainiarc7
Can you add this VAAPI hw encoding for screencast?
The text was updated successfully, but these errors were encountered: