You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some video files that have quite large resolution (from iphone). How do I scale this down? If I scale down the canvas, the video is still the same large size and I can only see a corner of it.
The height and sourceHeight video params only deal with cropping, so that doesnt work.
If I use a transformation like this
let transformEffect = new etro.effect.Transform({
matrix: new etro.effect.Transform.Matrix()
.scale(.5, .5),
});
movie.effects.push(transformEffect);
it scales down the whole canvas and my original height is not respected anymore (still same problem).
How do I scale down the source videos so they fit in the canvas? This seems like such a basic task, surprised I dont see any examples about this or maybe im doing something wrong.
The text was updated successfully, but these errors were encountered:
I have some video files that have quite large resolution (from iphone). How do I scale this down? If I scale down the canvas, the video is still the same large size and I can only see a corner of it.
The height and sourceHeight video params only deal with cropping, so that doesnt work.
If I use a transformation like this
it scales down the whole canvas and my original height is not respected anymore (still same problem).
How do I scale down the source videos so they fit in the canvas? This seems like such a basic task, surprised I dont see any examples about this or maybe im doing something wrong.
The text was updated successfully, but these errors were encountered: