[FFmpeg-trac] #9895(undetermined:new): Autorotate wrong direction for some android mp4 videos

FFmpeg trac at avcodec.org
Mon Aug 29 19:25:20 EEST 2022


#9895: Autorotate wrong direction for some android mp4 videos
-------------------------------------+-------------------------------------
             Reporter:  Taylor       |                     Type:  defect
  Hughes                             |
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug: For some mp4 uploads from native android apps
 (probably using a weird and/or broken encoder), ffmpeg interprets the
 rotation differently from Chrome/Quicktime and autorotates the video
 incorrectly, despite the rotation/display matrix appearing correct via
 ffprobe.

 How to reproduce:
 Given video in this unusual format (attached) with rotation = 90
 ffmpeg -i upsidedown-original.mp4 -y upsidedown-out.mp4
 Upside down video results with rotation = 0

 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9895>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list