[FFmpeg-trac] #2015(avfilter:new): VF Scale option should include -2 to create square pixels

FFmpeg trac at avcodec.org
Wed Dec 12 12:09:09 CET 2012


#2015: VF Scale option should include -2 to create square pixels
-------------------------------------+------------------------------------
             Reporter:  ramitbhalla  |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  unspecified  |               Resolution:
             Keywords:  scale        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by saste):

 Replying to [ticket:2015 ramitbhalla]:

 > Summary of the bug: FFMPEG has not way to create square pixels output
 video. using -1 for

 setsar=1,scale=iw:iw

 what's wrong with this?

 > the scale automatically scales but does not create square pixel video.
 >
 > So instead of having to create a square pixel video with width 720 by
 doing this:
 >
 > -vf scale=720:trunc(720/dar/2)*2
 >
 > It would be great if FFMPEG can provide an option (like mencoder) to do
 something like:
 >

 > -vf scale=720:-2

 I tend to dislike this arbitrary and opaque syntax.

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


More information about the FFmpeg-trac mailing list