Accessing Transcode Media Links in v4

,

In v2 API, when getting an asset, I could request particular transcodes of it like h264_540 - is there a way to do that in v4?

Or am I limited to the smaller list of efficient, high-quality, original, and video_h264_1080? (Speaking of - what exactly should I expect to find behind each of these labels?)

hi @nhe the only options available are what is included in the enum params.

I realized we don’t have specifics about what each item is in our docs (will change that) but iirc;
original = the original source file (no transcoding)
high_quality = 1080 transcoded version
efficient = 720p transcoded version
video_h264_180 = LOW transcloded resolution (sans audio) version (mainly for airtable users)

Thanks. Please consider it a v4 API feature request then, this is a workflow-breaking change for me. Specifically need lower encodes like 540 and 360.

hi @nhe as per our devs:

efficient is the smallest value in this code block, and high_quality is the largest value in the code block:”

asset.filetype =~ "video" -> [:h264_360, :h264_540, :h264_720, :h264_1080_best, :h264_2160]
asset.filetype =~ "image" -> [:image_small, :image_full, :image_high]

I have a ticket in to bring the other values to the API but this is all we have for the time being

Appreciate it, thanks Charlie