Video/audio streams muxer
get_muxobject Video & Audio Muxer which generates directly downloadable links from a Youtube video. Billing per call: 10 Credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Youtube video ID in expected format `(/^[a-zA-Z0-9-_]{11}$/)` | |
| codec | No | **string** Sets the video codec for downloads. The desired video codec (e.g., h264, vp9, av1). H264 codec is set by default. Throws: Error if the provided codec is not valid. | |
| endTime | No | **datetime or unsigned integer** Trims video or audio with reference to end time. Time in [HH:mm:ss](https://www.w3.org/TR/NOTE-datetime) format or in milliseconds. | |
| quality | No | **string** Sets the video quality for downloads. The desired video quality (e.g. 144, 240, 360, 480, 720, 1080, 1440, 2160, 4320, max). 720 quality is recommended for phones. Throws: Error if the provided quality is not valid. | |
| language | No | **string** specifies the language of audio to download when a youtube video is dubbed. E.g.: en / ru / cs / ja / es-US / ... | |
| audioOnly | No | **boolean** Enables downloading only audio. | |
| startTime | No | **datetime or unsigned integer** Trims video or audio with reference to start time. Time in [HH:mm:ss](https://www.w3.org/TR/NOTE-datetime) format or in milliseconds. | |
| videoOnly | No | **boolean** Enables downloading only video. | |
| watermark | No | **array** Adds an image to the video. List of values: 1. *URL 2. position: topLeft, topRight, bottomLeft, bottomRight, center (default) or pixel coordinates in x:y format from top left corner. 3. Scale (%widest side) 4. Transparency between 0 and 1 (none) | |
| audioFormat | No | **string** Sets the audio format for downloads (e.g., mp3, ogg, wav). Default: mp3 Throws: Error if the provided format is not valid. |