Thanks Zak,
I think the problem may related to the OS or the driver. I used the same
input media (1080P video) on Windows 7, H264 encoder(240fps) is much faster
than H265 encoder(80fps).
After some tests, I've found that the problem is that SKL H264 encoder
(100fps) is quite slow with old vaapi
Hello Shi Qiu,
I have two thoughts:
1. Is that the best possible experiment with only one variable changed
between the two cases? It looks like the input format changed, too,
although the filenames are possibly fake simple examples (simplicity is
good). The H264 output has a.h264 as the
OS: Ubuntu 16.04 64bit
CPU: intel i7 6700
H264:
ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_device
/dev/dri/renderD128 -i a.h264 -c:v h264_vaapi -f h264 t.h264 -y
108fps
H265:
ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_device
/dev/dri/renderD128 -i a.h265 -c:v