[FFmpeg-trac] #9293(undetermined:new): ffmpeg is unable to identify the aspect ratio of some video files

FFmpeg trac at avcodec.org
Thu Jun 17 18:02:46 EEST 2021


#9293: ffmpeg is unable to identify the aspect ratio of some video files
-------------------------------------+-------------------------------------
             Reporter:  strangiato   |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Nicolas George):

 {{{
 $ mkvinfo 2021-02-18\ 03-36-58.mkv
 …
 |  + Video track
 |   + Pixel width: 2560
 |   + Pixel height: 1080
 |   + Display unit: 4
 |   + Video colour information
 |    + Colour transfer: 1
 |    + Colour matrix coefficients: 1
 |    + Colour primaries: 1
 |    + Colour range: 1
 |  + Codec's private data: size 49 (H.264 profile: High @L5.1)
 | + Track
 }}}

 Compare with the output for a video just created with ffmpeg:

 {{{
 |  + Video track
 |   + Pixel width: 320
 |   + Pixel height: 240
 |   + Interlaced: 2
 |   + Display width: 8
 |   + Display height: 3
 |   + Display unit: 3 (aspect ratio)
 |  + Codec's private data: size 46 (H.264 profile: High @L1.3)
 }}}

 This video does not contain any aspect ratio information. Therefore,
 ffmpeg does not print it.

 The same probably applies to the MOV file, but I do not know the tools to
 examine it.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9293#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list