Skip to content

P1 transcoder: switch to CRF 23 VBR + maxrate #3

Description

@SlavaKuntsov

Phase / Priority / Area

Phase 12 · Priority P1 · Area transcoder

Зависимости

Blocked by: #1 adaptive ladder (предположение)

Scope

services/transcoder/app/consumer.py:140-155 (transcode_one), .env.example:30, deploy/docker-compose.yml:179

Goal

Переключить CBR → CRF 23 VBR для -20-30% битрейта.

Acceptance Criteria

  • env ENCODE_MODE=crf|abr (default crf)
  • crf: -crf 23 -maxrate 1.1*br -bufsize 2*br, abr: текущие -b:v
  • Битрейт sample 6s ниже на 20%+ без визуальной деградации

Проверки

ffprobe -show_streams битрейт до/после, uv run pytest, make lint-py

Out of scope

HW accel, fan-out

Риски

CRF 23 для всех рипов или 23/22/21 — уточнить у человека

Activity

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions