Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Jul 2020
Posts: 2
|
FFmpeg and h264_vaapi
Hello,
Not sure if this is the right forum. I have an Intel CPU and I wanted to use hardware acceleration to encode videos in H.264. Without the hardware acceleration, I am currently having good results with the veryslow preset (which is using CRF 23 I believe): Code:
ffmpeg -i <input> -acodec aac -vcodec libx264 -preset veryslow -y <output> Code:
ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i <input> -acodec aac -vcodec h264_vaapi -b:v 6M -y <output> Is there any way I can improve the quality of the results without messing too much with the parameters depending on the video ? Thanks |
|
|
|
|
|
#3 | Link |
|
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,857
|
It would be interesting to know how many percent more bits hw encoding needs in general to match quality of software encoding.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
|
|
![]() |
| Tags |
| crf, ffmpeg, h264_vaapi |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|