[FFmpeg-devel] [PATCH] (for discussion): nvenc: fix wrong aspect ratio for 720x576 and 720x480 resolution

Miroslav Slugeň thunder.m at email.cz
Sun Feb 12 23:25:17 EET 2017


This patch is for discussion only, not ready to commit yet and maybe 
newer will be.

NVENC in current CUDA 8 SDK is setting wrong aspect ratio when encoding 
resolution 720x576 and 720x480 and using AR 4:3 or 16:9 it will encode 
to h264 header that 15:11 and 20:11 is used. This is very very very ugly 
way how to fix it. I hope someone in NVIDIA will fix this soon, because 
all encoded streams are not displayed correctly for example in videojs 
player.

Support for HEVC is currently broken.

-- 
Miroslav Slugeň
















-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-nvenc-fix-wrong-aspect-ratio-for-720x576-and-720x480.patch
Type: text/x-patch
Size: 13199 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170212/35dc4811/attachment.bin>


More information about the ffmpeg-devel mailing list