20 May 2010 - Audio-only stream for iPhone Streaming
over 14 years ago by Encoding.com Product Team
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<!-- Format fields -->
<output>iphone_stream</output>
<bitrates>[CommaSeparatedList]</bitrates>
<segment_duration>[Duration]</segment_duration>
<pack_files>[yes|no]</pack_files>
<add_audio_only>[yes|no]</add_audio_only>
<still_image>[no|each_segment|first_segment]</still_image>
<still_image_time>[Time]</still_image_time>
<still_image_size>[Size]</still_image_size>
<!-- Destination fields -->
<destination>[DestFile]</destination> <!-- optional -->
<!-- ... -->
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"output": "iphone_stream",
"bitrates": "[CommaSeparatedList]",
"segment_duration": "[Duration]",
"pack_files": "[yes|no]",
"add_audio_only": "[yes|no]",
"still_image": "[no|each_segment|first_segment]",
"still_image_time": "[Time]",
"still_image_size": "[Size]",
"destination": "[DestFile]"
}
}
}
Format Name | Description | Allowed Values | Default Values |
---|---|---|---|
add_audio_only | Whether to add audio-only stream | yes, no | no |
still_image | Embed still image in the audio-only stream | no, each_segment, first_segment | no |
still_image_time | The time from the beginning of segment to capture still image | Non-negative number greater than 0.01 or hh:mm:ss.ms | none |
still_image_size | The size of the still image | WxH where W and H - positive integers | 320x240 |