Hi all,
I need to use luma to circle crop a video. But the ratio of the luma changed when the image used as a luma.
But got some problems:
- When applying a 16:9 luma to a 9:16 video, the luma was resized automatically, But I need exactly the raw shape of the mask.
- I’m trying to scale, rotate the video, but the mask also rotate or scale with the video. Just need to adjust the video, not the mask, how to do that?
- How to change to offset/scale/rotate of the luma mask? I tried to modified these attribute of the luma clip, but doesn’t work.
The json pasted below:
{
"timeline": {
"soundtrack": {
"src": "https://s3-ap-southeast-2.amazonaws.com/shotstack-assets/music/moment.mp3",
"effect": "fadeOut"
},
"background": "#ffffff",
"tracks": [
{
"clips": [
{
"asset": {
"type": "luma",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/luma-mattes/static/circle-sd.jpg"
},
"start": 0.0,
"length": 3.18
},
{
"asset": {
"type": "video",
"src": "https://shotstack-api-stage-output.s3-ap-southeast-2.amazonaws.com/d86covx4fi/8a688b4d-c97e-4a59-977c-0fe9d7744fab.mp4",
"volume": 1
},
"start": 0.0,
"length": 3.18,
"scale": 0.1,
"transform": {
"rotate": {
"angle": 0.0
}
}
}
]
}
],
"cache": false
},
"output": {
"format": "mp4",
"resolution": "hd",
"aspectRatio": "9:16",
"thumbnail": {
"capture": 1,
"scale": 0.5
}
}
}
Looking forward to replies.