[FFmpeg-trac] #5959(avcodec:new): aspect ratio change not working with libx265 (works with libx264)

FFmpeg trac at avcodec.org
Wed Nov 16 19:57:36 EET 2016

#5959: aspect ratio change not working with libx265 (works with libx264)
             Reporter:  te36     |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  avcodec  |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
 Summary of the bug:
 files encoded with libx264 support aspect ratio change during the clip.
 With libx265 this is not the case. It is not clear to me if this is a
 libx265 issue or an ffmpeg issue.

 How to reproduce:
 ffmpeg, ffplay from ffmpeg-git

 encode example MPEG2 clip which changes AR from 4:3 to 16:9 (PAL, non-
 square pixel).

 ffmpeg -i ar-change.mpg -vcodec libx264 ar-change-h264.ts
 ffmpeg -i ar-change.mpg -vcodec libx265 ar-change-h265.ts

 Display with ffplay
 ffplay ar-change.mpg
 ffplay ar-change-h264.ts
 ffplay ar-change-h265.ts

 mpg/h264 will show AR change, h265 not.

 no external player (kodi, mplayer, vlc) show AR change, so i assume its an
 ffmpeg/avcodec issue (or libx265), but not an ffplay issue.

Ticket URL: <https://trac.ffmpeg.org/ticket/5959>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list