#309: width or height not divisible by 2
--------------------------+---------------------------
Reporter: AlanJames1987 | Owner:
Type: defect | Status: closed
Priority: normal | Component: undetermined
Version: git-master | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced: 1
Analyzed: 1 |
--------------------------+---------------------------
Changes (by saste):
* analyzed: 0 => 1
* status: open => closed
* resolution: => invalid
* reproduced: 0 => 1
Comment:
This is a limitation of libx264, which is unrelated to libavfilter/scale.
When choosing scale=W:-1 the filter won't round the scaled H by 2, you
need to explicitely express this to the scale filter, either by employing
scripting or using expressions in the scale filter itself.
For example the following will round the scaled height to a multiple of 2,
keeping the same input aspect ratio:
scale="854:trunc(ow/a/2)*2"
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/309#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://avcodec.org/mailman/listinfo/ffmpeg-trac