[FFmpeg-trac] #4082(ffmpeg:new): The scale filter does not actually change the height and width.

FFmpeg trac at avcodec.org
Wed Nov 5 01:57:41 CET 2014

#4082: The scale filter does not actually change the height and width.
             Reporter:  muruganandh  |                     Type:  defect
               Status:  new          |                 Priority:  critical
            Component:  ffmpeg       |                  Version:
             Keywords:  scale        |  unspecified
  filter                             |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 Summary of the bug:

 As per this document -

 -vf scale=320:240 should covert any video to 320 by 240 disregarding the
 aspect ratio of the source

 How to reproduce:
 % ffmpeg -i input -vf scale=320:240 output
 ffmpeg version ffmpeg version 2.4.3-tessus
 built on Nov  3 2014 23:01:10 with Apple LLVM version 6.0 (clang-600.0.54)
 (based on LLVM 3.5svn)
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

 Steps :
 1. Use any source video - i used 1280 by 720 Video.
 2. use this command -i input.mp4 -vf scale=100:100 output.mp4

 Expected : A Video of size 100px width and 100px height

 Actual : You get a video of 177 by 100 (ffprobe will say the video as 100
 by 100 but quicktime player or VLC player will play by aspect ratio
 maintained). The resulting video is actually 117 by 100 - Get Info from
 MAC will show the real value.

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

More information about the FFmpeg-trac mailing list