Skip to main content

Overview

The EncoderProfile class configures how your compositions are exported. It handles video codecs, quality settings, and format-specific options for FFmpeg.

🎬 Standard Formats

H.264 MP4, VP9 WebM - Universal compatibility

🎯 Professional Formats

ProRes MOV, PNG Sequence - Maximum quality

Standard Formats

Universal compatibility with excellent compression:

VP9 WebM

Excellent compression for web delivery:

Professional Formats

ProRes 4444 MOV

Highest quality for professional video editing:

PNG Sequence

Frame-by-frame output for maximum quality:

Transparent Formats

Perfect for further compositing or overlaying on other content:

Transparent WebM

WebM Transparency: Requires libvpx-vp9 decoder for proper alpha channel support. The SDK automatically detects and uses the correct decoder when available.

Specialized Formats

Stacked Video

Debug format showing video and mask:

Quality Guidelines

CRF Values (Constant Rate Factor)

Lower CRF = Higher quality, larger files:

Encoding Presets

Balance between speed and compression efficiency:

Platform-Specific Recommendations

Social Media

Professional Workflows

Custom Arguments

Access the raw FFmpeg arguments for advanced use:

Encoder Properties

Complete Export Example

Format Comparison

Advanced Settings

Custom H.264 Settings

File Size Estimation

Approximate file sizes for different settings (30-second 1080p video):

Troubleshooting

Encoding Errors

Common encoding issues and solutions:

Unknown Codec

Solution: Install FFmpeg with H.264 support

Out of Memory

Solutions:
  • Reduce video resolution
  • Use faster preset
  • Process shorter segments

Slow Encoding

Solutions:
  • Use faster preset (fast, ultrafast)
  • Reduce quality (higher CRF value)
  • Use fewer layers in composition

Quality Issues

Blocky/Pixelated Output

Solutions:
  • Lower CRF value (higher quality)
  • Use slower preset for better compression
  • Check source video quality

Large File Sizes

Solutions:
  • Increase CRF value (lower quality)
  • Use VP9 instead of H.264
  • Use faster preset (less compression efficiency)