20 April 2015 - Apple TV outputs
over 9 years ago by Encoding.com Product Team
appletv and appletv_43 are output formats based on advanced_hls with predefined sets of streams.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<output>[appletv|appletv_43]</output>
<duration_precision>3</duration_precision>
<stream>
<!-- [Predefined set of streams](/AppleTVstreams) -->
</stream>
<main_source>
<type>video</type>
</main_source>
<alternate_source>
<type>audio</type>
<audio_name>audio 1</audio_name>
</alternate_source>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"output": "[appletv|appletv_43]",
"duration_precision": "3",
"stream": " ",
"main_source": {
"type": "video"
},
"alternate_source": {
"type": "audio",
"audio_name": "audio 1"
}
}
}
}
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
Format params | |||
output | appletv: preset for screens with 16:9 resolution appletv_43: preset for screens with 4:3 resolution | ||
duration_precision | Sets number of decimal points for duration in playlist file. | integer | 3 |
Stream params | |||
List of predefined set of streams |