[FFmpeg-devel] [PATCH V3] lavc/vaapi_encode_h264: Enable MB rate control.
Jun Zhao
mypopydev at gmail.com
Mon May 22 03:05:46 EEST 2017
On 2017/5/20 20:32, Mark Thompson wrote:
> On 19/05/17 14:10, Mark Thompson wrote:
>> On 19/05/17 00:43, Jun Zhao wrote:
>>>
>>> On 2017/5/14 12:26, Jun Zhao wrote:
>>>> V3: - Fix build error with old VAAPI version.
>>>> V2: - Refine the name/value type to mb_rate_control/bool.
>>>> - Only supported GEN9+ (SKL/APL/KBL/...)
>>>> - i965 driver default use frame-level rate control algorithm (generate the QP for each frame),
>>>> when enable mb_rate_control, it's will enable the MB-level RC algorithm (generate the QP for each MB).
>>>> - enables MB-level bitrate control that generally improves subjective visual quality,
>>>> but have negative impact on performance and objective visual quality metric.
>>>>
>>>
>>> Ping ?
>>
>> I fixed the default/enable/disable inconsistency in <https://github.com/01org/intel-vaapi-driver/commit/0dd6ba4e26d3abaa7e66265284ef81c746c13f20>. Using 0/1 as default/on is probably fine, but it doesn't match the statement that it's definitely disabled if the option is zero. (I don't mind which way around that gets fixed.)
>>
>> I tested with this patch and it works fine on a Skylake GT3 (6260U), but it killed the whole machine when enabled on a Skylake GT2 (6300). I haven't yet had chance to investigate that further (rebooting repeatedly is kindof inconvenient), but I will try to do so soon.
>
> This failure is completely consistent. Reported here: <https://github.com/01org/intel-vaapi-driver/issues/172>.
>
> You will understand that I am reluctant to commit an option which nukes my machine, so lets hold off on this patch while the Intel driver people look at it.
>
> Thanks,
>
Got it,Thanks , Mark. BTW, I have enabled the multi slice encoding for VAAPI AVC/HEVC, maybe I can send a early version for code review.
> - Mark
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list