chore: tweak encoding version documentation format

This commit is contained in:
Esa Kataja
2025-10-04 18:21:51 +03:00
parent f3f88edc0f
commit 5b4b36c928
+11 -9
View File
@@ -1,8 +1,10 @@
# Encoding Settings Version 1.0 # Encoding Settings Changelog
This document describes the encoding settings used by videnc version 1.0 for all video encodings. This document tracks changes to the encoding settings used by videnc over time.
## Universal Settings ## Version 1.0 - Initial Release (2025-10-04)
### Universal Settings
These settings are applied to all videos regardless of source material: These settings are applied to all videos regardless of source material:
@@ -17,15 +19,15 @@ These settings are applied to all videos regardless of source material:
- **film-grain-denoise**: 1 (enabled for all encodings) - **film-grain-denoise**: 1 (enabled for all encodings)
- **tune**: 0 (default tuning) - **tune**: 0 (default tuning)
## Variable Settings ### Variable Settings
These settings vary based on video characteristics: These settings vary based on video characteristics:
### Resolution-Based Settings #### Resolution-Based Settings
- **CRF**: 30 for videos < 1 MPixel, 28 for videos >= 1 MPixel - **CRF**: 30 for videos < 1 MPixel, 28 for videos >= 1 MPixel
- **film-grain**: 10 for videos < 1 MPixel, 5 for videos >= 1 MPixel - **film-grain**: 10 for videos < 1 MPixel, 5 for videos >= 1 MPixel
## Source Material Dependent Settings ### Source Material Dependent Settings
These settings are conditionally applied based on the characteristics of the source video: These settings are conditionally applied based on the characteristics of the source video:
@@ -38,20 +40,20 @@ These settings are conditionally applied based on the characteristics of the sou
- **Keyframe Interval**: Dynamically calculated based on video FPS - **Keyframe Interval**: Dynamically calculated based on video FPS
- Value: `Math.round(videoInfo.fps * 5)` - Value: `Math.round(videoInfo.fps * 5)`
## Audio Settings ### Audio Settings
- **Audio Codec**: libopus for all audio streams - **Audio Codec**: libopus for all audio streams
- **Channel Layout**: Preserved from source (with special handling for sideloaded audio) - **Channel Layout**: Preserved from source (with special handling for sideloaded audio)
- **Language Metadata**: Preserved for each stream - **Language Metadata**: Preserved for each stream
- **Disposition**: English audio tracks set as default - **Disposition**: English audio tracks set as default
## Subtitle Settings ### Subtitle Settings
- **Subtitle Handling**: Copy (no re-encoding) - **Subtitle Handling**: Copy (no re-encoding)
- **Language Metadata**: Preserved for each stream - **Language Metadata**: Preserved for each stream
- **Disposition**: Finnish subtitle tracks set as default - **Disposition**: Finnish subtitle tracks set as default
## Metadata Handling ### Metadata Handling
- **Metadata Stripping**: Original metadata is stripped (`-map_metadata -1`) - **Metadata Stripping**: Original metadata is stripped (`-map_metadata -1`)
- **Custom Metadata**: Added from OMDB API or user input - **Custom Metadata**: Added from OMDB API or user input