Professionally built templates to get you started.
{
"timeline": {
"soundtrack": {
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/music/metal.mp3"
},
"background": "#000000",
"tracks": [
{
"clips": [
{
"asset": {
"type": "title",
"text": "25 fps",
"style": "future",
"size": "x-small",
"position": "bottomLeft"
},
"start": 1,
"length": 5,
"transition": {
"in": "fade",
"out": "fade"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/footage/motorbike-dirt.mp4"
},
"start": 0,
"length": 10
}
]
}
]
},
"output": {
"format": "mp4",
"resolution": "hd",
"fps": 25
}
}
Changes the framerate of a video to 25 frames per second (fps). Works best with source footage that is 25fps or a multiple of 25fps, i.e. 50fps. Frames are either removed or duplicated so the output length stays the same. The source footage in this example is 50fps.
New to Shotstack? Sign up to use this template and start automatically generating videos.
Test and modify this template directly in Postman by forking our public Collection.
Customise the template and integrate it in to your application or workflow using the programming language of your choice.
Use this template as the starting point for integration with our SDKs. Port the JSON to PHP, Node or Ruby and integrate in to your code base.
Unlimited developer sandbox
Free tier (no watermarks)
No credit card required