Skip to content

feat: Implement two-pass encoding for better quality/size balance #46

Description

@wmehanna

Context\nTwo-pass encoding can significantly improve quality-to-size ratio by analyzing the video content in the first pass before encoding in the second pass.\n\n## Research\n- FFmpeg supports two-pass encoding via and \n- Tdarr and FileFlows use this for quality-critical workloads\n- Particularly useful for variable bitrate (VBR) optimization\n\n## Proposed Implementation\n1. Add two-pass encoding option to policy/encoding settings\n2. Implement first pass (analyze) - no output, generates stats file\n3. Implement second pass (encode) - uses stats file for better allocation\n4. Track pass completion in job metadata\n\n## Priority\nMedium - improves encoding quality for users willing to trade encode time

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions