nmmes-module-normalize
v0.0.6
Published
NMMES normalize module
Downloads
3
Readme
NMMES-module-normalize
A normalization module for nmmes-backend.
Features
- Normalize audio levels via the ffmpeg loudnorm audio filter.
- Set default audio stream based on language.
- Set default subtitle stream if an audio stream with the target language is not found.
- Create stream titles if they don't already exist.
- Automatically crop off black edges.
- Downscale video if larger than specified height.
Installation
See https://github.com/NMMES/nmmes-cli/wiki/Modules for additional instructions.
Options
The --language
option sets the target language for normalization. The native-language option can parse ISO 639-1 and ISO 639-2 (Ex: ja, jpn) Codes as well as the languages' full English name (Ex: Japanese, Russian, French).
Type: String Default: eng
The --audio-levels
option normalizes audio stream levels with EBU R128 loudness normalization.
Type: Boolean Default: true
The --audio-titles
option normalizes audio stream titles with the stream's language and format.
Type: Boolean Default: true
The --subtitle-titles
option normalizes subtitle stream titles with the stream's language and format.
Type: Boolean Default: true
The --force
option normalizes stream titles even if the stream already has a title.
Type: Boolean Default: false
The --scale
option defines the height videos should be down scaled to. Videos will always maintain original aspect ratio. Videos will not be scaled up. Use 0 to disable this feature. [Examples: 720, 480].
Type: Number Default: 0
The --autocrop-intervals
option attempts to crop off black bars on a video. Set to 0 to disable.
Type: Number Default: 12