ffmpeg is unable to identify the aspect ratio of some video files
|Reported by:||strangiato||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Description (last modified by )
Summary of the bug:
I use ffmpeg 2:4.4-4 on Arch Linux.
My file manager called Dolphin is unable to display the aspect ratio of some video files when its detailed view mode is used.
This issue was initially reported on KDE bug tracker, here is the link of the report:
In the comment 2, KDE contributor Méven Car said that Dolphin uses ffmpeg to extract details of video files, that for some reason is unable to identify the aspect ratio of the test files attached in the bug report.
How to reproduce:
- download any video file attached to this report
- run ffmpeg -i <any_video_file_downloaded_in_the_step_1>
% ffmpeg -i output: The SAR (sample aspect ratior) is missing for video stream. video stream of 701D2C8E-A096-4BC7-9D97-2DA9C0321DB5.MOV fie: Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720, 4730 kb/s, 29.99 fps, 29.97 tbr, 600 tbn, 1200 tbc (default) video stream of 2021-02-18\ 03-36-58.mkv file: Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 2560x1080, 60 fps, 60 tbr, 1k tbn, 120 tbc (default) ffmpeg version 4.4 built on Arch Linux