Description
I put a video and an image which are the same size (184x184) into two tracks seperately, the share all the same clip propertery except clip->asset. But the generate result render the image and the video in different size, video seems smaller than the image!
Here is the shotstack json:
{
"timeline":
{
"background": "#ffffff",
"tracks":
[
{
"clips":
[
{
"asset":
{
"type": "video",
"src": "https://s3.amazonaws.com/www.talkieselfie.xyz/pacific/avatar_tmp/A0gPBZqn5HUFsFE8O1tWe0fDiZYSvyHA/fecf6eac884a4713a00276ce7579ca98/505f475288ed45fb8e95d4fe855fe63a.mp4?AWSAccessKeyId=AKIAR2ESI7XGYQEXSYU2&Signature=r8KxrhKJFT1u7bUzvOlNKHwT5ys%3D&Expires=1650425529",
"volume": 1
},
"start": 0.0,
"length": 9.4,
"fit": "none",
"scale": 1.3043478260869565,
"position": "center",
"offset":
{
"x": 0.0,
"y": -0.2188
},
"transform":
{
"rotate":
{
"angle": 0.0
}
}
}
]
},
{
"clips":
[
{
"asset":
{
"type": "image",
"src": "https://s3.amazonaws.com/www.talkieselfie.xyz/pacific/avatar_tmp/A0gPBZqn5HUFsFE8O1tWe0fDiZYSvyHA/fecf6eac884a4713a00276ce7579ca98/cfcee1b57c43440399a37c02da073338.jpg?AWSAccessKeyId=AKIAR2ESI7XGYQEXSYU2&Signature=feVDOfEgQZAtp%2FQK7nSlGbIpAc0%3D&Expires=1650425529"
},
"start": 0.0,
"length": 9.4,
"fit": "none",
"scale": 1.3043478260869565,
"position": "center",
"offset":
{
"x": 0.0,
"y": -0.2188
},
"transform":
{
"rotate":
{
"angle": 0.0
}
}
}
]
}
],
"fonts":
[
{
"src": "https://cdn.jsdelivr.net/npm/@expo-google-fonts/noto-sans-sc@0.2.2/NotoSansSC_400Regular.ttf"
},
{
"src": "http://fonts.gstatic.com/s/zendots/v1/XRXX3ICfm00IGoesQeaETM_FcCIG.ttf"
}
],
"cache": false
},
"output":
{
"format": "mp4",
"size":
{
"width": 720,
"height": 1280
},
"aspectRatio": "9:16",
"thumbnail":
{
"capture": 1,
"scale": 0.5
}
}
}