Files
FFmpeg/libavcodec
Zhong Li 1125277bc6 lavc/qsvenc: enable hevc gpb option
GPB is the default type, just contains forward references but the
slice_type is B slice with higher encoding efficiency than regular P
slice, but lower performance.

Add an option to allow user to set regular P slice.

Fix ticket#6870

Test data on Intel Kabylake (i7-7567U CPU @ 3.50GHz):
1. ffmpeg -hwaccel qsv -c:v h264_qsv -i bbb_sunflower_1080p_30fps_normal.mp4 -vsync passthrough
-vframes 1000  -c:v hevc_qsv -gpb 0 -bf 0 -q 25 test_gpb_off_bf0_kbl.mp4

transcoding fps: 85
encoded file size of test_gpb_off_bf0_kbl.mp4: 21960100 (bytes)

2. ffmpeg -hwaccel qsv -c:v h264_qsv -i bbb_sunflower_1080p_30fps_normal.mp4 -vsync passthrough
-vframes 1000  -c:v hevc_qsv -gpb 1 -bf 0 -q 25 test_gpb_on_bf0_kbl.mp4

transcoding fps: 79
encoded file size oftest_gpb_on_bf0_kbl.mp4:  21211449 (bytes)

In this case, enable gpb can bring about 7% performance drop but 3.4% encoding efficiency improvment.

Signed-off-by: Zhong Li <zhong.li@intel.com>
2019-04-03 23:00:15 +08:00
..
2019-04-01 11:06:34 -03:00
2019-01-01 21:11:47 +01:00
2019-03-31 10:48:43 +02:00
2018-04-30 21:50:12 +02:00
2018-02-09 22:10:56 +01:00
2018-08-28 04:25:35 +01:00
2018-10-15 01:19:45 +02:00
2019-03-31 10:48:43 +02:00
2018-08-08 00:13:13 +05:30
2018-09-23 14:42:34 +01:00
2018-09-23 14:42:34 +01:00
2018-07-18 13:59:25 +02:00
2018-04-19 22:59:40 +02:00
2017-11-09 19:49:32 +01:00
2018-02-24 17:06:31 +01:00
2018-02-24 17:06:31 +01:00
2018-04-25 23:09:47 +02:00
2018-12-23 15:30:13 +01:00
2018-12-10 11:19:36 +01:00
2018-12-13 19:30:39 +01:00
2018-09-23 15:25:50 +02:00
2018-05-25 20:09:22 +02:00
2017-12-10 14:43:01 +01:00
2018-02-24 17:06:31 +01:00
2018-12-20 18:40:41 +08:00
2017-12-11 00:42:26 -03:00
2019-01-16 01:29:18 +01:00
2019-02-23 22:48:35 +01:00
2018-01-03 13:00:06 -05:00
2019-03-31 23:35:00 +02:00
2018-12-23 15:30:13 +01:00
2018-12-01 19:41:48 +01:00
2019-01-12 17:16:47 +01:00
2018-05-10 23:03:50 +02:00
2019-04-03 23:00:15 +08:00
2019-04-03 23:00:15 +08:00
2018-12-03 23:34:05 +01:00
2018-03-07 22:26:53 +01:00
2019-03-20 21:12:45 +01:00
2018-11-18 22:59:29 +01:00
2019-03-20 21:12:45 +01:00
2018-02-24 04:50:55 +01:00
2019-03-31 18:39:58 +02:00
2018-09-08 21:21:50 +02:00
2018-12-31 02:37:08 +01:00
2018-02-21 23:38:30 +00:00
2018-04-25 22:07:20 +02:00
2019-03-31 10:48:43 +02:00
2017-12-19 23:21:59 +00:00
2017-12-19 23:21:59 +00:00
2018-12-10 21:38:08 +01:00