Re: maxHeight and maxWidth

On 2/17/16 3:40 PM, Peter Thatcher wrote:
> ... I can't think of any other use cases for a fixed-resolution video 
> track.  But the real question is whether Adam's proposed use case is 
> even possible to solve.

^

> But while we're talking about video tracks, I am suprised that we 
> don't have something as simple as and useful as something like this:
>
> var smallTrack = bigTrack.scale({downBy: 2})
> var tinyTrack = bigTrack.scale({downToHeight: 90}).crop({toRatio: 16/9})

I think you just answered yourself above (no use cases).

As to Adam's use-case, I suspect it's a red herring to worry about 
videos smaller than 160x90, but I'll wait for him to clarify what he wants.

.: Jan-Ivar :.

Received on Wednesday, 17 February 2016 21:25:44 UTC