[FFmpeg-user] Ffmpeg lying about video width and height

Kieran O Leary kieran.o.leary at gmail.com
Tue Jun 13 17:37:33 EEST 2023


Hi,

This is PAL video with a pixel aspect ratio that tells a player to display
the image in widescreen. This transformation turns 720x576 stored pixels
into 1024x576 displayed pixels.
So there are 720x576 of actual pixel data present in the file, but the
metadata in the file is telling players to display 1024 pixels wide.
So Ffmpeg is telling the truth, and mediainfo is telling the truth.
Mediainfo also has the source pixel width in the output as well with a
value of 720.

Best,

Kieran O’Leary
Digital Preservation Manager
National Library of Ireland


More information about the ffmpeg-user mailing list