Is there a way to start an mp3 in the middle somewhere for the Soundtrack?
In my video I want to start the mp3 at 20 seconds instead of at 0 (the beginning). Is this possible?
Thanks.
Is there a way to start an mp3 in the middle somewhere for the Soundtrack?
In my video I want to start the mp3 at 20 seconds instead of at 0 (the beginning). Is this possible?
Thanks.
You can use the trim
property on an audio asset to make it start 20 seconds later.
{
"output": {
"format": "mp4",
"resolution": "sd"
},
"timeline": {
"tracks": [
{
"clips": [
{
"asset": {
"src": "https://shotstack-assets.s3.amazonaws.com/music/moment.mp3",
"type": "audio",
"trim": 20,
"effect": "fadeInFadeOut"
},
"start": 0,
"length": 60
}
]
}
]
}
}
Thank you for the response.
I have the same original question.
It would be helpful for us if we could trim the soundtrack rather than have to add an audio asset to achieve the same funcionality.