[FFmpeg-devel] avcodec/libopenh264enc.c

Valery Kot valery.kot at gmail.com
Thu Oct 11 15:55:13 EEST 2018


When using libx264 (GPL) encoder, sample aspect ratio gets stored on
both container and frame levels. For libopenh264 (LGPL), aspect ratio
on codec/frame level currently is ignored, which results in weird
display aspect ratio for non-square pixels on some players.

Proposed patch fixes that, if FFmpeg being build against libopenh264
1.7 or newer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Set-sample-aspect-ratio-in-libopenh264-encoder.patch
Type: application/octet-stream
Size: 3075 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181011/d1cfbee4/attachment.obj>


More information about the ffmpeg-devel mailing list