fix: enhance 2-pass x265 encoding to copy compatible HEVC video below specified bitrate limit
Build / Lint & Test (push) Successful in 15s
Build / Lint & Test (push) Successful in 15s
This commit is contained in:
1 parent
2a39da6d08
commit
ee5fc99820
3 files changed
+92
-6
No files matched your search
@@ -223,7 +223,7 @@ OCR failures are logged as **warnings** without stopping the pipeline.
|
||||
|
||||
Performs 2-pass libx265 encoding using VBV parameters from `args.variables`.
|
||||
|
||||
- **Video**: bound-1080p Lanczos scaling (no letterbox, even dimensions)
|
||||
- **Video**: HEVC already within 1080p and strictly below 3000 kbps is copied; all other video is bound-1080p Lanczos scaled and x265-encoded (no letterbox, even dimensions)
|
||||
- **Audio**: Opus re-encode with per-track indexed bitrate (ITA default, ENG secondary)
|
||||
- **Subtitles**: stripped (`-sn`)
|
||||
- **Chapters**: preserved (`-map_chapters 0`)
|
||||
@@ -233,6 +233,7 @@ Performs 2-pass libx265 encoding using VBV parameters from `args.variables`.
|
||||
|---|---|---|
|
||||
| `x265Preset` | `slow` | x265 preset (`ultrafast` … `veryslow`). Slower = better quality. |
|
||||
| `outputContainer` | `mkv` | Output file extension |
|
||||
| `copyHevcBelowKbps` | `3000` | Copy compatible HEVC video below this bitrate instead of re-encoding it. `0` disables copying. |
|
||||
|
||||
**Outputs**: `1` → transcode complete
|
||||
|
||||
|
||||
Reference in new issue
Block a user