Encoding profiles
Encoding profiles store information about particular encoding options (size,
compression, format, etc.). They can’t be created through the API; you’ll need
to create them via the web console.
-
class hdcloud.ProfileManager(api)
-
all(page=1)
Get a list of all encoding profiles. Paginated.
Parameter: | page – Page number |
Return type: | list of Profile instances. |
-
get(id)
Look up an encoding profile by ID.
Parameter: | id – The profile ID |
Return type: | A Profile instance. |
-
class hdcloud.Profile(manager, info)
An encoding profile (size, compression options, etc.)
The documentation doesn’t explain what all the attributes mean,
but the names are relatively self-explanatory, I hope:
-
audiobitrate
-
audio_sample_rate
-
bitrate
-
bitrate_tolerance
-
brightcove
-
brightcove_publisher_id
-
created_at
-
description
-
encoded_filename_format_string
-
framerate
-
id
-
keyframe_interval
-
letterbox
-
max_file_size
-
name
-
output_ext
-
output_format
-
resolutions
-
thumbnail_interval
-
thumbnail_offset
-
time_duration
-
time_offset
-
updated_at