Profile defines the video codecs, resolutions and duration of a conversion job.
Methods:
- [GET] http://api.ankoder.com/profile
- [GET] http://api.ankoder.com/profile/{id}
[GET] http://api.ankoder.com/profile
Retrieve the list of profiles that you have access to.
Response Example:
<profiles>
<profile>
<id>2</id>
<name>psp</name>
<created_at>2007-12-27 06:33:39 UTC</created_at>
<width>480</width>
<height>272</height>
<video_format>mp4</video_format>
<video_fps>29.97</video_fps>
<video_bitrate>768.0</video_bitrate>
<video_codec>h264</video_codec>
<audio_channel>2</audio_channel>
<audio_codec>aac</audio_codec>
<audio_bitrate>128.0</audio_bitrate>
<audio_rate>48000</audio_rate>
<thumbnail_width></thumbnail_width>
<thumbnail_height></thumbnail_height>
<trim_begin></trim_begin>
<max_duration></max_duration>
<add_padding>false</add_padding>
<keep_aspect>false</keep_aspect>
</profile>
</profiles>
[GET] http://api.ankoder.com/profile/{id}
Retrieve information of a Profile
Response Example:
<profile>
<id>2</id>
<name>psp</name>
<created_at>2007-12-27 06:33:39 UTC</created_at>
<width>480</width>
<height>272</height>
<video_format>mp4</video_format>
<video_fps>29.97</video_fps>
<video_bitrate>768.0</video_bitrate>
<video_codec>h264</video_codec>
<audio_channel>2</audio_channel>
<audio_codec>aac</audio_codec>
<audio_bitrate>128.0</audio_bitrate>
<audio_rate>48000</audio_rate>
<thumbnail_width></thumbnail_width>
<thumbnail_height></thumbnail_height>
<trim_begin></trim_begin>
<max_duration></max_duration>
<add_padding>false</add_padding>
<keep_aspect>false</keep_aspect>
</profile>
