[FFmpeg-trac] #325(avfilter:closed): Aspect Ratio of input Video required to e.g. automatically add correct letterbox/pillarbox when rescaling video

FFmpeg trac at avcodec.org
Sat Jul 30 19:05:44 CEST 2011


#325: Aspect Ratio of input Video required to e.g. automatically add correct
letterbox/pillarbox when rescaling video
------------------------+-----------------------
Reporter:  Pae8uuW5     |       Owner:
    Type:  enhancement  |      Status:  closed
Priority:  normal       |   Component:  avfilter
 Version:  git-master   |  Resolution:  fixed
Keywords:               |  Blocked By:
Blocking:               |  Reproduced:  0
Analyzed:  1            |
------------------------+-----------------------
Changes (by saste):

 * status:  new => closed
 * version:  0.8 => git-master
 * resolution:   => fixed


Comment:

 The a/dar mismatch was fixed in git-master:

 {{{
 commit 61d55fda2b513caf18e37b27aba680a87840904a
 Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
 Date:   Wed Jul 27 10:58:24 2011 +0200

     lavfi: tweak display aspect ratio variables in pad and scale filters

     Previously, "dar" and "a" were documented like "input display aspect
     ratio", but their actual value was "in_w/in_h".

     In order to avoid to break scripts which rely on the "a" variable, the
     patch keeps the same semantics but fixes the corresponding docs, and
     fixes the semantics of the recently added "dar" variable, which
     now correctly expresses the input Display Aspect Ratio value as
     "(inw_w/in_h)*sar".
 }}}

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


More information about the FFmpeg-trac mailing list