When you would like to transcode high-end video formats/codecs, the step Encoding.com is ideal.

You can trigger Encoding.com via a new file in S3 or a webhook trigger.

Prerequisite:

  • setup an account on encoding.com and save the user ID and key which you can copy to AVflow

1. Add "Encoding.com" step to the flow

2. Select "Transcode" as the action

3. Enter encoding user id and user key so the transcode request will be submit to your account

You can find your User Id and Key here: https://manage.encoding.com/ui/account

4. Select "Output format" code from the list below:

apple_prores

5. Select "Type" which is ProRes type from the list below (optional)

apch — ProRes 422 HQ
apcn — ProRes 422
apcs — ProRes 422 LT
apco — ProRes 422 Proxy
ap4h — ProRes 4444
ap4x — ProRes 4444 XQ

6. Set additional video or display settings

7. Trigger flow and check the log to see the result

Valid values of Video settings and Display settings

Video bitrate (bps): General recommendations for H.264: 240p @ 400 kbps, 360p @ 700 kbps, 480p @ 1200 kbps, 720p @ 2500 kbps, 1080p @ 5000 kbps

256k

300k

512k

784k

800k

1024k

1200k

1600k

1800k

2700k

Interlaced mode: Recommended default "no" method sets progressive mode for most web/mobile video.

no

tff

bff

Keyframe period(frames): Defines maximum framecount for keyframe interval. Generally recommend 10 seconds multiplied by framerate value.

Min. video bitrate(bps): Sets a minimum bitrate floor for video encoding. Leave off unless you require it for legacy player hardware.

RC buffer init. occupancy (bits): Rate control buffer for legacy hardware. Generally recommend 2x average bitrate.

Video codec: Video codec. For H.264/AVC (for Flash or mp4), please select libx264.

mpeg4

libx264

beamr4avc

hevc

beamr4hevc

labaom-ev1

libsvtav1

Codec advanced options: Allows customization of x264 advanced features. Only recommended for special applications

no

yes

Constant bitrate: We recommend you leave CBR turned off unless you need it for legacy player hardware. Our default VBR mode is higher quality at competitive bitrates.

yes

no

Video sync method: Video sync method.

passthrough

cfr

vfr

auto

old

RC buffer size (bits): Sets a custom VBV buffer size. Generally used only for legacy player hardware.

De-interlacing: Auto-detects interlaced source by default, and corrects the fields for high quality progressive output.

yes

no

auto

Force key frames (x264 only): Sets value to lock keyframe interval, ignoring scene change detection. Only use for legacy player hardware.

Keep aspect ratio: Auto-detects source display aspect ratio (DAR) and matches it in output. Only turn off if you are setting DAR manually.

yes

no

Max. video bitrate (bps): Sets a maximum bitrate ceiling for video encoding. Leave off unless you are constrained on legacy hardware.

Profile: General guide: Use baseline for 3G phones (LD), main for 4G phones (SD), and high for WiFi (HD).

main

baseline

hight

Set aspect ratio: Only use if you have disabled "Keep aspect ratio." Use this to manually set a display aspect ratio (DAR) flag in output.

Frame Rate Upper Threshold: Option to use source framerate for output, when below this number.

Format ftyp: Specify format ftyp

Pixel format: Pixel format - ability to lock output to YUV420p colorspace

yuv420p

yuv422p

yuvj420p

yuvj422p

yuv420p10le

yuv422p10le

yuv444p10le

Size:

320x240

368x192

480x 360

640x480

800x600

852x480

128x96

176x144

352x288

704x576

1280x720

1408x1152

1920x1080

720x486

720x576

960x720

1440x1080

2048x1152

Crop Top: Define crop in number of pixels from the top of the frame.

Crop Bottom: Define crop in number of pixels from the bottom of the frame.

Crop Left: Define crop in number of pixels from the right of the frame.

Crop Right: Define crop in number of pixels from the right of the frame.

Did this answer your question?