[FFmpeg-devel] [PATCH] nvenc: Make AUD optional for h264_nvenc and hevc_nvenc

Miroslav Slugeň thunder.m at email.cz
Thu Dec 29 23:02:22 EET 2016


Somebody changed AUD to active in NVENC by default, which is not very 
clever, libx264 also has this future disabled, so we should stay in sync 
with libx264 behavior.

Enabled AUD will work only without B-frames. There is BUG in Nvidia 
NVENC when you use AUD for H264 with B-frames, it will return corrupted 
stream, because NVIDIA is inserting AUD type 0 (I-frame) before B-frames 
instead of AUD type 7 (any-frame).

H264 encoded with B-frames and AUD active will not play for example on 
Panasonic TX-AS640E, other decoders just ignore wrong AUD type.


-- 
Miroslav Slugeň





-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-NVENC-Make-AUD-optional.patch
Type: text/x-patch
Size: 3157 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161229/82d0da1d/attachment.bin>


More information about the ffmpeg-devel mailing list