[FFmpeg-trac] #1079(undetermined:closed): Crop Keep_Aspect option not working

FFmpeg trac at avcodec.org
Sat Mar 17 12:33:23 CET 2012

#1079: Crop Keep_Aspect option not working
             Reporter:  ramitbhalla  |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:  invalid
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0

Comment (by saste):

 Replying to [comment:8 ramitbhalla]:
 > According to the documentation:
 > {{{
 > Also the display aspect ratio set by this filter may be changed by later
 filters in the filterchain, e.g. in case of scaling or if another "setdar"
 or a "setsar" filter is applied.
 > }}}
 > this implies that setsar can be placed anywhere in the chain. Above if I
 place it anywhere except the end it fails the conversion. Maybe it's a bug
 that needs to be fixed.

 Your interpretation of the documentation is backward. This means that if
 you place setsar anywhere *but* at the end the SAR may be changed (as it
 happens in your case, since the scale filter forces the output display
 aspect ratio to be the same as in input, by changing the output SAR).

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1079#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list