[FFmpeg-trac] #7498(undetermined:new): webm rotation metadata results in deformed output.

FFmpeg trac at avcodec.org
Wed Oct 17 11:30:48 EEST 2018


#7498: webm rotation metadata results in deformed output.
-------------------------------------+-------------------------------------
             Reporter:  carl         |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 When trying to extract a frame from a video, the video orientation
 metadata is taken into account, but the output dimensions are wrong.
 Notice in the example the height and width are swapped, resulting in a
 warped output.

 I am using ImageMagick to convert the concatenated PNG files to a single
 JPEG, but the concat'd PNG still exhibits the issue.


 Repro:

 ffmpeg -t 1.0 -i file.webm -frames:v 120 -codec:v png -compression_level 0
 -f image2pipe out.png


 FFmpeg version (compiled locally at version n4.0):
 ffmpeg version n4.0 Copyright (c) 2000-2018 the FFmpeg developers
   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
   configuration: --enable-gpl --enable-static --disable-nonfree --enable-
 pthreads --enable-libx264 --enable-libmp3lame --enable-libvorbis --enable-
 libvpx
   libavutil      56. 14.100 / 56. 14.100
   libavcodec     58. 18.100 / 58. 18.100
   libavformat    58. 12.100 / 58. 12.100
   libavdevice    58.  3.100 / 58.  3.100
   libavfilter     7. 16.100 /  7. 16.100
   libswscale      5.  1.100 /  5.  1.100
   libswresample   3.  1.100 /  3.  1.100
   libpostproc    55.  1.100 / 55.  1.100

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7498>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list