set_sync_delay
Adjust audio or subtitle delay in VLC to correct out-of-sync playback; use negative, fractional, or zero seconds to align timing.
Instructions
Set the audio or subtitle delay to fix out-of-sync playback.
Args: stream: "audio" or "subtitle" seconds: Delay in seconds (can be negative or fractional, e.g. -0.5). 0 resets it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"stream": "<stream>",
"seconds": "<seconds>"
},
"name": "set_sync_delay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stream | Yes | ||
| seconds | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |