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.
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:
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
Interlaced mode: Recommended default "no" method sets progressive mode for most web/mobile video.
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.
Codec advanced options: Allows customization of x264 advanced features. Only recommended for special applications
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.
Video sync method: Video sync method.
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.
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.
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).
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
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.