[FFmpeg-trac] #2150(avfilter:closed): scale video filter improvement

FFmpeg trac at avcodec.org
Mon Apr 29 17:15:58 CEST 2013


#2150: scale video filter improvement
-------------------------------------+------------------------------------
             Reporter:  burek        |                    Owner:
                 Type:  enhancement  |                   Status:  closed
             Priority:  wish         |                Component:  avfilter
              Version:  unspecified  |               Resolution:  invalid
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by burek):

 Here is an example line that can accomplish this already (thanks ubitux)
 :)

 {{{
 -vf scale="'if(gt(iw,ih),640,-1)':'if(gt(iw,ih),-1,480)'"
 }}}

 NOTE: Pay attention to quotes. They are important.

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


More information about the FFmpeg-trac mailing list