[FFmpeg-devel] [PATCH] lavc/vaapi_encode_h264: add option to insert AUD nal to AVC stream

Mark Thompson sw at jkqxz.net
Tue May 2 23:49:53 EEST 2017


On 02/05/17 21:23, Mark Thompson wrote:
> On 02/05/17 03:49, Jun Zhao wrote:
>> From e39078e9fe02c8d77c5e28436aef4d80a2d7b3a0 Mon Sep 17 00:00:00 2001
>> From: Jun Zhao <jun.zhao at intel.com>
>> Date: Tue, 2 May 2017 10:36:55 +0800
>> Subject: [PATCH] lavc/vaapi_encode_h264: add option to insert AUD nal to AVC
>>  stream.
>>
>> Add aud option to support insert AUD nal in AVC stream. Default is
>> disable.
>>
>> Signed-off-by: Jun Zhao <jun.zhao at intel.com>
>> Signed-off-by: Yi A Wang <yi.a.wang at intel.com>
>> ---
>>  libavcodec/vaapi_encode.c      | 15 ++++++++++++++
>>  libavcodec/vaapi_encode.h      |  4 ++++
>>  libavcodec/vaapi_encode_h264.c | 45 ++++++++++++++++++++++++++++++++++++++++++
>>  3 files changed, 64 insertions(+)
> 
> ...

I should probably also note that there are plans to replace all the raw bitstream writing code upstream, with common code shared with other cases (bitstream filters) rather than having it ad-hoc inside the individual VAAPI encode files.

<https://lists.libav.org/pipermail/libav-devel/2017-April/083452.html>  (As yet very incomplete, VAAPI not yet touched.)

- Mark


More information about the ffmpeg-devel mailing list