[FFmpeg-devel] [PATCH] doc/filters: add an example to scale

Vittorio Gambaletta (VittGam) ffmpeg-dev at vittgam.net
Tue Jan 26 17:53:07 CET 2016


On 26/01/2016 15:20:22 CET, Vittorio Gambaletta (VittGam) wrote:
> Hi,
> On 26/01/2016 15:16:21 CET, James Darnley wrote:
>> On 2016-01-22 14:44, Michael Niedermayer wrote:
>>> On Fri, Jan 22, 2016 at 03:53:10AM +0100, James Darnley wrote:
>>>> Someone on IRC asked for a scale that would fit in a given box.  This is the
>>>> answer.  I couldn't see it in the existing examples so I thought I would add it.
>>>> ---
>>>>  doc/filters.texi | 6 ++++++
>>>>  1 file changed, 6 insertions(+)
>>> LGTM
>>> thx
>> Thanks Michael.
>> I nearly forgot about this.  If nobody else has any comments I will push
>> it later today.
> Instead of a 720x720 box it could be a 720x576 box (to avoid confusion in
> other usage cases where the box isn't square).

That is, I'm using this to fit the video in a 720x576 box:


Also, I'm using this to fit the video in a 720x576 box that has a forced 4:3
aspect ratio (its native aspect ratio is 5:4):



More information about the ffmpeg-devel mailing list