[FFmpeg-devel] [PATCH] doc/filters: add an example to scale
james.darnley at gmail.com
Tue Jan 26 18:24:13 CET 2016
On 2016-01-26 17:53, Vittorio Gambaletta (VittGam) wrote:
> On 26/01/2016 15:20:22 CET, Vittorio Gambaletta (VittGam) wrote:
>> 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(+)
>>> 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).
I might change that.
> 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
> aspect ratio (its native aspect ratio is 5:4):
I might add another example from yours as it might be clearer than my
if-branch way. I'll read the other examples again first.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 603 bytes
Desc: OpenPGP digital signature
More information about the ffmpeg-devel