Opened 8 years ago
Last modified 8 years ago
#5959 open enhancement
aspect ratio change not working with libx265 (works with libx264)
Reported by: | te36 | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avcodec |
Version: | git-master | Keywords: | libx265 |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
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.
Attachments (1)
Change History (4)
by , 8 years ago
Attachment: | ar-change.mpg added |
---|
comment:1 by , 8 years ago
Keywords: | libx265 added |
---|---|
Priority: | normal → wish |
Reproduced by developer: | set |
Status: | new → open |
For future tickets: Please remember to always test current FFmpeg and provide the tested command line together with the complete, uncut console output to make tickets valid.
comment:2 by , 8 years ago
Priority: | wish → normal |
---|
I can confirm this issue with git N-83006-g4c63910 and other recorded sources
I have raised the priority of this to 'normal' as a problem like this is blocking for x265 use with any TV recordings which regularly change aspect ratio mid-way through (e.g. commercials, trailers etc.
comment:3 by , 8 years ago
Priority: | normal → wish |
---|---|
Type: | defect → enhancement |
MPEG2 file with aspect ratio change 4:3 to 16:9 for testing