14 July 2010 - New defaults and preset for iPhone Streaming
over 14 years ago by Encoding.com Product Team
Format Name | Description | Allowed Values | Default Values |
---|---|---|---|
output | output format. Specify format of encoded file. | flv, fl9, wmv, 3gp, mp4, m4v, ipod, iphone, ipad, appletv, psp, zune, mp3, wma, m4a, thumbnail*, image , mpeg2 *, iphone_stream, ipad_stream ****. | none |
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<!-- Format fields -->
<output>[iphone_stream|ipad_stream]</output>
<bitrates>[CommaSeparatedList]</bitrates>
<framerates>[CommaSeparatedList]</framerates>
<keyframes>[CommaSeparatedList]</keyframes>
<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> <!-- REQUIRED -->
<!-- ... -->
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"output": "[iphone_stream|ipad_stream]",
"bitrates": "[CommaSeparatedList]",
"framerates": "[CommaSeparatedList]",
"keyframes": "[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 |
---|---|---|---|
bitrates | Comma separated list of video bitrates. | One or more valid bitrate values, separated by comma | iphone_stream: 600k,400k,200k,110k ipad_stream: 1200k,800k,600k,400k,200k,110k |
framerates | Comma separated list of framerates, according to previous parameter | One or more valid framerate values, separated by comma | iphone_stream: 29.97,29.97,15,10 ipad_stream: 29.97,29.97,29.97,29.97,15,10 |
keyframes | Comma separated list of keyframe parameters. | One or more valid keyframe values, separated by comma | iphone_stream: 90,90,45,30 ipad_stream: 90,90,90,90,45,30 |
segment_duration | Segment duration to split media (in seconds) | Non-negative integer | 10 |
pack_files | Whether to pack result files to single tarball | yes, no | yes |
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 | 480x320 |