Skip to content
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 Hardware VAAPI encoding support #329

Closed
cdgriffith opened this issue Apr 16, 2022 · 5 comments
Closed

Add Hardware VAAPI encoding support #329

cdgriffith opened this issue Apr 16, 2022 · 5 comments
Labels
feature request New idea for project

Comments

@cdgriffith
Copy link
Owner

This is more difficult as basic things like scaling are done differently with vaapi. Opening separate issue to track this and possible beta tries with this version.

@cdgriffith cdgriffith added the feature request New idea for project label Apr 24, 2022
@sourpatched
Copy link

Any update on VAAPI support?

@cdgriffith
Copy link
Owner Author

Have not spent any effort on that yet myself. Always looking for other contributors!

@marcscama
Copy link

hi,
i have a IGPU AMD 4800u.
If i want encode with vaapi and HEVC i use:

ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i input.mkv -vf 'scale_vaapi=w=1920:h=800' -c:v hevc_vaapi -rc_mode CQP -qp 26 -c:a copy -strict unofficial output.mkv

i think for AMD a vaapi profile works so it's a good idea to add in the list.

Best regards.

@ojaksch
Copy link

ojaksch commented Apr 19, 2023

+1 to see that coming to live. But I'm using
ffmpeg -vaapi_device /dev/dri/renderD128 -i INPUT -c:v hevc_vaapi -b:v 3000k -c:a aac -b:a 160k -c:s copy -map 0:v:0 -map 0:a:0 -vf format='nv12|vaapi,hwupload' OUTPUT
with my AMD Ryzen 5 PRO 3400G / Vega 11, which should do the same as the example above.

cdgriffith added a commit that referenced this issue Apr 23, 2023
* Adding decoder option for NVEncC and QSVEncC
* Adding option to disable messages on encoding completion or error
* Adding output depth to VCEEncC
* Adding #266 multiple disposition types for subtitles (thanks to lobofoots)
* Adding #326 support for hwaccel decoding with ffmpeg nvenc (thanks to Jim Leonard)
* Adding #329 Hardware VAAPI encoding support for HEVC, H264, VP9 and MPEG2
* Adding #351 option to disable automatic tab switching (thanks to Wontell)
* Adding #357 QSVencC adapt-ref, adapt-ltr, and adapt-qm parameters (thanks to F.O.R.A.R.T.)
* Adding #368 VCEEncC Pre-Analysis options of sc, ss, activity type, caq, sc qp,lookahead, ltr, paq, taq and motion quality (thanks to Wontell)
* Adding #379 #410 dispositions for audio tracks (thanks to markmarz and Don Gafford)
* Fixing videotoolbox setting panels not having custom_q
* Fixing end of run command ran after message box was closed instead of before (thanks to sn6op)
* Fixing changing video or track title did not update the command
@cdgriffith
Copy link
Owner Author

Finally added in 5.5.0! For HEVC, AVC, VP9 and MPEG2 https://github.com/cdgriffith/FastFlix/releases/tag/5.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New idea for project
Projects
None yet
Development

No branches or pull requests

4 participants