[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:32:36 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:4 ramitbhalla]:
 > I agree, never said silently, throw a warning but don't fail the
 conversion.

 When something is wrong, a warning is not enough. If you want the
 conversion to succeed, provide it with correct parameters.

 > Why would you crop after scaling?

 Because the arithmetic may be easier, depending on circumstances.

 If you want your cropping to take effect before scaling, put the crop
 filter before the scale filter.

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


More information about the FFmpeg-trac mailing list