[FFmpeg-devel] [PATCH] lavc/vaapi_encode: enable "force_key_frames" option in vaapi_encode

Jun Zhao mypopydev at gmail.com
Thu Jan 12 02:37:14 EET 2017



On 2017/1/12 4:39, Mark Thompson wrote:
> On 09/01/17 06:19, Jun Zhao wrote:
>> From 40804a849556e1303f6351f5560d5552e2588b12 Mon Sep 17 00:00:00 2001
>> From: Jun Zhao <jun.zhao at intel.com>
>> Date: Mon, 9 Jan 2017 14:05:59 +0800
>> Subject: [PATCH] lavc/vaapi_encode: enable "force_key_frames" option in
>>  vaapi_encode
>>
>> enable the opt "force_key_frame" to force IDR output in vaapi_encode,
>> and this option can take a expression as an argument, allowing
>> functionality such as forcing a key frame(IDR frame) every 5 seconds
>> like:
>>
>> -force_key_frames 'expr:gte(t,n_forced*5)'
>>
>> Signed-off-by: Wang, Yi A <yi.a.wang at intel.com>
>> Signed-off-by: Jun Zhao <jun.zhao at intel.com>
>> ---
>>  libavcodec/vaapi_encode.c | 24 +++++++++++++++---------
>>  libavcodec/vaapi_encode.h |  1 +
>>  2 files changed, 16 insertions(+), 9 deletions(-)
> 
> <https://lists.libav.org/pipermail/libav-devel/2017-January/081621.html> ?
> 
> (It is my intent to merge libav VAAPI changes more agressively now, the decode set a few days ago was the start of that.)

I see, please continue merge the libav VAAPI changes.

> 
> - 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