[FFmpeg-trac] #2014(undetermined:new): Crop and Scale are location sensitive, fails if scale comes before crop

FFmpeg trac at avcodec.org
Wed Dec 12 16:24:54 CET 2012


#2014: Crop and Scale are location sensitive, fails if scale comes before crop
-------------------------------------+-------------------------------------
             Reporter:  ramitbhalla  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by Cigaes):

 Replying to [comment:2 ramitbhalla]:
 > Both - it should not fail, just keep the scale size if the crop size >
 scale size.

 Silently ignoring an invalid parameter is almost never a good behaviour.

 > And it shouldn't make a difference which order the parameters are
 placed.

 They are not parameters, they are filters, and the order is obviously
 relevant: removing 100 pixels from 1920 is clearly not the same thing than
 from 720: on the first it amounts to about 5% of the width, on the second
 almost 14%.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2014#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list