mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-05 00:56:23 +00:00
feat(render): add CRF/bitrate controls and improve default quality (#292)
Raise default encoding quality to visually lossless at 1080p (CRF 18) and expose fine-grained encoding controls for power users. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
2718de8776
commit
ebc12f7dc9
@@ -17,8 +17,8 @@ export type { EncoderOptions, EncodeResult, MuxResult } from "./chunkEncoder.typ
|
||||
|
||||
export const ENCODER_PRESETS = {
|
||||
draft: { preset: "ultrafast", quality: 28, codec: "h264" as const },
|
||||
standard: { preset: "medium", quality: 23, codec: "h264" as const },
|
||||
high: { preset: "slow", quality: 18, codec: "h264" as const },
|
||||
standard: { preset: "medium", quality: 18, codec: "h264" as const },
|
||||
high: { preset: "slow", quality: 15, codec: "h264" as const },
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user