Skip to main content

Speed_change

NameTypeDescription
factornumber
string
The speed change to be applied. The default is 1.0. Can use expressions such as (24000/1001)/25
default: 1
pitch_correctionboolean
Correct the audio pitch of the speed changed streams.
default: true

Example speed_change

{
"uid": "transcode_task",
"kind": "transcode",
"payload": {
"location": {
},
"targets": [
{
"file_pattern": "{source_basename}.mp4",
"container": {
"kind": "mp4",
"filters": [
{
"kind": "speed_change",
"payload": {
"factor": "25/(24000/1001)",
"pitch_correction": true
}
}
]
},
"video": {
"codec": "h264",
"bitrate_mode": "vbr",
"bitrate_kb": 1000,
"max_bitrate_kb": 1200,
"frame_rate": 25,
"profile": "main",
"level": "4.0",
"height": 720
},
"audio": [
]
}
]
}
}