I want to encode many of my H264 videos to H265 video with reduced resolution (480p or something in this case, at most 720p) so they don't take too much space on the disk.
I've been trying to use Intel CPU's VAAPI hardware acceleration with the hevc_vaapi codec because H265 encoding in software is still pretty slow (on slower CPUs), and so far it works, but either the encoded video looks much worse than the source, or it takes up more space than the original, or both.
Has anyone managed to achieve good quality and reasonable bitrates as you would expect from HEVC video?
In my example this should of course be lower than the H264 source, otherwise it doesn't make any sense to re-encode. The H264 videos use between 1 - 1.5 Mbit/s mostly - so I am aiming at something below 1Mbit/s for HEVC in 480p, as libx265 gives me output of around 500 kbit/s with good visual quality with -crf 26 (or similar, and depending on the source of course - but software encoding is pretty slow)
The best option to use instead of constant bitrate mode for the hevc_vaapi codec seems to be using -qp 25 (or similar values) but this made it only a bit better, it still doesn't look really good...
I've read and tried the commands from the ffmpeg wiki for VAAPI (though they all use CBR mode there) but this didn't help too much as they use very high bitrates, which isn't really what HEVC is intended for (https://trac.ffmpeg.org/wiki/Hardware/VAAPI).
Does anyone know a solution for this - or possibly has the same problem?!
Is it possible to get good quality with reasonable bitrates when using VAAPI at all?
I'd also consider other possibilities to speed things up, but currently I just have this slow CPU with VAAPI support (qsv didn't work, if this is any better at all).