mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-10-30 09:16:55 +00:00
The opt-in `cfr` step in assemble() re-encoded every mp4 at libx264 medium / CRF 18 regardless of how the chunks were encoded, so a render asked for at CRF 12 (or quality "high", or a target bitrate) came out at CRF 18 whenever cfr was on. It now reads quality / crf / bitrate from meta/encoder.json and applies the same rate control the chunks used: crf, else bitrate, else the quality preset's CRF. Default (standard, no override) is unchanged: medium / 18. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>