[FFmpeg-trac] #8437(avcodec:closed): ffprobe: Wrong aspect ratio is reported

FFmpeg trac at avcodec.org
Mon Dec 23 13:51:28 EET 2019

#8437: ffprobe: Wrong aspect ratio is reported
             Reporter:  nafmo        |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:  invalid
             Keywords:  mpeg2video   |               Blocked By:
  regression                         |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  1            |
Changes (by cus):

 * analyzed:  0 => 1
 * cc: cus (added)
 * status:  new => closed
 * resolution:   => invalid


 I dont think this is an issue in ffmpeg.

 The old firmware writes 720x480 to sequence_display_extension, the new
 writes 540x480. aspect_ratio_information is 2 for both files which means

 ISO/IEC 13818-2 states that if sequence_display_extension() is present
 then the sample aspect ratio may be calculated as follows: SAR = DAR ×
 display_horizontal_size / display_vertical_size

 So you should report this to Harmonic instead. Reopen if they can cite
 some specs which proves that ffmpeg is wrong in deciding the aspect ratio.

Ticket URL: <https://trac.ffmpeg.org/ticket/8437#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list